Announcements
Today’s Topics
Java vs. CJava Advantages
Java vs. CJava Disadvantages
Java vs. CC Advantages
Java vs. CC Disadvantages
Basic C Data types
Basic C Statements
Contrast with Java on declaration locations:
C Functions
C Procedures
Source files (.c files)
Source files (.h files)
Example: math library
Standard Output
Example with printf
Output of previous
Parameters and Arguments
Pointers and References
Pointers in C
Swap two integers
Standard Input
stdin Example
Email: millett@cs.cornell.edu
Home Page: http://www.cs.cornell.edu/cs100-su99/
Other information: CS 100 Summer 1999 Lecture Notes