Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
C Reference Card (ANSI) Program Structure/Functions
 

Summary: C Reference Card (ANSI)
Program Structure/Functions
type fnc(type1,. . . ) function declarations
type name external variable declarations
main() { main routine
declarations local variable declarations
statements
}
type fnc(arg1,. . . ) { function definition
declarations local variable declarations
statements
return value;
}
/* */ comments
main(int argc, char *argv[]) main with args
exit(arg) terminate execution
C Preprocessor
include library file #include
include user file #include "filename"
replacement text #define name text

  

Source: Aziz, Adnan - Department of Electrical and Computer Engineering, University of Texas at Austin
Glykos, Nikolaos - Department of Molecular Biology and Genetics, Democritus University of Thrace
Narboux, Julien - Département Informatique, Université de Strasbourg

 

Collections: Biology and Medicine; Computer Technologies and Information Sciences