Announcements

8/3/99


Click here to start


Table of Contents

Announcements

Today’s Topics

Java vs. C Java Advantages

Java vs. C Java Disadvantages

Java vs. C C Advantages

Java vs. C C 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

Author: millett

Email: millett@cs.cornell.edu

Home Page: http://www.cs.cornell.edu/cs100-su99/

Other information:
CS 100 Summer 1999 Lecture Notes