Here is a short list of the topics covered in each lecture, specifically the ones that will be fair game for Exam 2.
See the
W 02/12 | C String Library Methods: strlen , strcpy , strcat , strcmp , strstr |
| Incomplete Code: optest.c |
| Finished Code: optest-finished.c increment.c |
M 02/17 | String manipulation with pointer arithmetic. |
| Code: words.c |
W 02/19 | Exercise: parens. |
F 02/21 | (Nothing important was discussed. As usual.) |
| Code: pixeltest.c |
M 02/24 | Self-referential structs, linked list. |
| Code: linkedlist.h linkedlist.c |
W 02/26 | Linked lists with void* values, Function pointers. |
| Code: linkedlist.h linkedlist.c |
F 02/28 | More on function pointers. |
| Code: error.c fibonacci.c linkedlist.c linkedlist.h matrices.c |
M 03/03 | C++: A basic "Hello, World!" |
W 03/05 | C++: Pass-By-Reference. |
| Code: hello.cpp copy.cpp testoutput.cpp sort.cpp reftest.cpp |
F 03/07 | C++ Class by example: String. |
| Code: String.hpp String.cpp Makefile (Makefile is for 03/10 lecture) |
M 03/10 | C++ Using classes, new , delete , copy constructors. |
| Code: String.hpp String.cpp stringtest.cpp Makefile |