Expert C Programming: Deep SecretsPrentice Hall, 14. jun. 1994 - 384 strani This book is for the knowledgeable C programmer, this is a second book that gives the C programmers advanced tips and tricks. This book will help the C programmer reach new heights as a professional. Organized to make it easy for the reader to scan to sections that are relevant to their immediate needs. |
Iz vsebine knjige
Zadetki 1–3 od 75
Stran 8
... define STRING char * #define IF if( #define THEN ){ #define ELSE } else { #define FI ;} #define WHILE while ( #define DO ){ #define OD ;} #define INT int #define BEGIN { #define END } This enabled him to code the shell using code like ...
... define STRING char * #define IF if( #define THEN ){ #define ELSE } else { #define FI ;} #define WHILE while ( #define DO ){ #define OD ;} #define INT int #define BEGIN { #define END } This enabled him to code the shell using code like ...
Stran 88
... define MAXTOKENS 100 #define MAXTOKENLEN 64 enum type_tag { IDENTIFIER, QUALIFIER, TYPE }; struct token { char type; char string[MAXTOKENLEN]; }; int top=-1; struct token stack[MAXTOKENS]; struct token this; #define pop stack[top ...
... define MAXTOKENS 100 #define MAXTOKENLEN 64 enum type_tag { IDENTIFIER, QUALIFIER, TYPE }; struct token { char type; char string[MAXTOKENLEN]; }; int top=-1; struct token stack[MAXTOKENS]; struct token this; #define pop stack[top ...
Stran 231
... define O(b,f,u,s,c,a) \ b(){int o=f();switch(*p++){X u:_ o s b();X c:_ o a b();default:p--;_ o;}} #define t(e,d,_,C)X e:f=fopen(B+d,_);C;fclose(f) #define U(y,z) while(p=Q(s,y))*p++=z,*p=' ' #define N for(i=0;i<11*R;i++)m[i]&& #define # ...
... define O(b,f,u,s,c,a) \ b(){int o=f();switch(*p++){X u:_ o s b();X c:_ o a b();default:p--;_ o;}} #define t(e,d,_,C)X e:f=fopen(B+d,_);C;fclose(f) #define U(y,z) while(p=Q(s,y))*p++=z,*p=' ' #define N for(i=0;i<11*R;i++)m[i]&& #define # ...
Vsebina
1 C Through the Mists of Time | 1 |
2 Its Not a Bug Its a Language Feature | 31 |
3 Unscrambling Declarations in C | 63 |
Avtorske pravice | |
10 preostalih delov ni prikazanih
Druge izdaje - Prikaži vse
Pogosti izrazi in povedi
a.out activation record address space algorithm allocated ANSI ANSI C Standard argument array of pointers assignment barometer base class BCPL bytes cache char character compiler compiler-writer const convention data segment data structures debugging declaration default define definition destructor disk dynamic linking element example executable expression Figure float Fortran function call gettoken Handy Heuristic hardware header file identifier Iliffe vector implementation inheritance input integer Intel kernel keyword l-value linker lint longjmp look machine malloc manpage memory leak MS-DOS multidimensional arrays nextstate null object operand operating system parameter printf problem Programming Challenge programming language prototype reference return TYPE routine runtime segmentation fault setjmp/longjmp signal Software Dogma statement statically linked string string literals struct subscript SunOS switch symbol syntax system call There’s thing Turing test typedef UNIX variable virtual memory void write