COMPSCI 149s, Fall 2005149S.2 Problem Solving Seminar (C prgm) W 1:15-2:30 D336 LSRC |
|
|
|
Course Vital StatisticsInstructor: Robert Wagner |
. Bulletin Board: http://www.cs.duke.edu/phpBB2
. Textbook:
The C Programming Language, Brian
Kernighan and Dennis Ritchie
. Introduction to C Input
and Output.htm
. Switch
statement, I/O, and Math Functions
. Reference book: C A Reference Manual, Samuel Harbison and Guy Steele, Jr.
. Present the C language, emphasizing those aspects which are likely to be valuable in courses like COMPSCI 104 and COMPSCI 110. Topics to include:
1. Compiling and running programs
2. Printing messages with “printf()”
3. Characters, arrays, and strings
4. Memory and pointers
5. Reading data using scanf()
6. Constructing and interpreting C declarations
7. Storage “classes” including use of malloc()
8. The C preprocessor
9. Using GDB intelligently