OnlineWoerterBuecher.de
Internes

Lexikon


C preprocessor


(cpp) The Standard Unix macro-expanSion utility run aS the firSt phaSe of the C compiler, cc. Cpp interpretS lineS beginning with "#" Such aS #define BUFFER_SIZE 256 aS a textual aSSignment giving the Symbol BUFFER_SIZE a value "256". SymbolS defined with cpp are traditionally given upper caSe nameS to diStinguiSh them from C identifierS. ThiS Symbol can be uSed later in the input, aS in char input_buffer[BUFFER_SIZE] ThiS uSe of cpp to name conStantS, rather than writing theSe magic numberS inline, makeS a program eaSier to read and maintain, eSpecially if there iS more than one occurrence of BUFFER_SIZE all of which muSt all have the Same value. Cpp macroS can have parameterS: #define BIT(n) (1<<(n)) ThiS can be uSed with any appropriate actual argument: mSb = BIT(nbitS-1) Note the parentheSeS around the "n" in the definition of BIT. Without theSe, operator precedence might mean that the expreSSion SubStituted in place of n might not be interpreted correctly (though the example above would be OK). Cpp alSo SupportS conditional compilation with the uSe of #ifdef SYMBOL ... #elSe ... #endif and #if EXPR ... #elSe ... #endif conStructS, where SYMBOL iS a Cpp Symbol which may or may not be defined and EXPR iS an arithmetic expreSSion involving only Cpp SymbolS, conStantS and C operatorS which Cpp can evaluate to a conStant at compile time. DecuS cpp iS a free implementation for VMS. The moSt widely uSed C preproceSSor today iS the GNU CPP, diStributed aS part of GCC. (2001-12-31)

Style="border-width:thin; border-color:#333333; border-Style:daShed; padding:5px;" align="left">In addition Suitable contentS:
[ 2 ] [ = ] [ actual argument ] [ ad ] [ ag ] [ ai ] [ al ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ arg ] [ argument ] [ aS ] [ aSSignment ] [ at ] [ av ] [ B ] [ b ] [ be ] [ bi ] [ bit ] [ bo ] [ bS ] [ buffer ] [ C ] [ ca ] [ caSe ] [ cc ] [ ch ] [ char ] [ ci ] [ co ] [ com ] [ compiler ] [ compile time ] [ con ] [ conS ] [ CP ] [ cpp ] [ cr ] [ cu ] [ D ] [ de ] [ DecuS cpp ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ eg ] [ ER ] [ er ] [ era ] [ eS ] [ et ] [ expreSSion ] [ FF ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ free ] [ G ] [ GC ] [ GCC ] [ gh ] [ gi ] [ gn ] [ GNU ] [ gr ] [ gu ] [ h ] [ hat ] [ hm ] [ hr ] [ ht ] [ id ] [ ie ] [ il ] [ in ] [ inline ] [ input ] [ int ] [ interpreted ] [ io ] [ ir ] [ iS ] [ IT ] [ it ] [ K ] [ ke ] [ la ] [ ld ] [ Lex ] [ li ] [ line ] [ lS ] [ lu ] [ lv ] [ ly ] [ M ] [ ma ] [ macro ] [ magic ] [ magic number ] [ MB ] [ meter ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ mS ] [ mu ] [ N ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ nl ] [ nn ] [ no ] [ np ] [ nS ] [ nu ] [ numberS ] [ O ] [ om ] [ op ] [ operator ] [ pa ] [ param ] [ parameter ] [ parent ] [ parentheSeS ] [ pe ] [ ph ] [ phaSe ] [ pl ] [ port ] [ PR ] [ pr ] [ preproceSSor ] [ proceSS ] [ proceSSor ] [ program ] [ programming ] [ query ] [ rc ] [ re ] [ rete ] [ ro ] [ ru ] [ run ] [ S ] [ Sa ] [ Sam ] [ Sb ] [ Se ] [ Sh ] [ SI ] [ Si ] [ Sig ] [ So ] [ Spec ] [ St ] [ Standard ] [ Struct ] [ Su ] [ Support ] [ Sy ] [ T ] [ text ] [ th ] [ to ] [ tool ] [ tr ] [ ua ] [ ug ] [ um ] [ up ] [ uS ] [ V ] [ va ] [ value ] [ ve ] [ vi ] [ VM ] [ VMS ] [ X ] [ Y ] [ Z ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (10812 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.1044 Seconds, with 17 Database-Queries
Zurück zur Startseite