COMPSCI 149s, Fall 2005

149S.2  Problem Solving Seminar (C prgm) W 1:15-2:30 D336 LSRC

 

 

Course Vital Statistics

Instructor: Robert Wagner
Office: D336 LSRC
Email: raw.nospam@cs.duke.edu
Office Hours: WF 2-4:25
and by appointment.

 

Lectures and Assignments

Communications

�.      Bulletin Board: http://www.cs.duke.edu/phpBB2


Resources and Amusements

�.      Textbook: The C Programming Language, Brian Kernighan and Dennis Ritchie

�.      Introduction to C Input and Output.htm

�.      C Input Output

�.      Switch statement, I/O, and Math Functions

�.      UNIX Tutorial

�.      Debugging with gdb

�.      Reference book: C A Reference Manual, Samuel Harbison and Guy Steele, Jr.


Course Goals

�.      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