Difference between revisions of "StartingC"
Jump to navigation
Jump to search
Line 55: | Line 55: | ||
address arith | address arith | ||
2d arrays | 2d arrays | ||
+ | binary trees and linked lists - just give examples | ||
=Structures= | =Structures= |
Revision as of 16:06, 18 August 2009
startingC: Learning the C Programming Language
svn co http://source.ggy.bris.ac.uk/subversion-open/startingC/trunk ./startingC
A Quintessential Start
cd startingC/examples/example1
we will be using make
make
and run the classic program
./hello.exe
Types
int char float double
short & long
sizeof() casting
The C Preprocessor
Loops & Conditionals
if then else
(switch) case (default - fall through)
while and for
break & continue
Functions & Header Files
Arrays & Pointers
address, dereference address arith 2d arrays binary trees and linked lists - just give examples
Structures
DAB again
watch out for padding