McGill C & C++ Course
Announcements
- No current announcements
Course Outline (Winter 05)
Programming Assignments
Note: the programming assignments are subject to change up until the moment when they are handed out in class.
Assignment # 1
Some references on predator-prey population simulation (for cultural interest only - not needed for doing the assignment !)
Assignment # 2
Example input data file
Example of using qsort()
Assignment # 3
Source code for Assignment #3
Other Course Materials
- Class Notes (overhead slides, etc)
- Sample midterm test
- Harder version of Assignment # 2
- Alternative version of source code for Assignment # 3 (Just for interest - don't use this version in the program you hand in.)
- Another alternative version of source code for Assignment # 3 (Just for interest - don't use this version in the program you hand in.)
- Example C & C++ source code
Useful References
- Frequently Asked Questions about C
- Frequently Asked Questions about C++ (Marshall Cline)
- C++ Reference Project
- Test your C or C++ code for standards conformance (Comeau Computing)
- Bjarne Stroustrup's FAQ
- Lysator's C Resources
- C++: differences from Java (Cay Horstmann)
- Java: differences from C++ (Bruce Eckel)
- C++ pitfalls (Cay Horstmann)
- Ch: C++ Interpreter (Soft Integration)
- International Obfuscated C Code Contest
- Underhanded C Contest
Culture & History
- History of C and UNIX (Bell Labs)
- "The Art of Unix Programming" (by Eric Raymond, has interesting history of C and UNIX, good advice on software design)
- "How to be a Programmer" (by Robert Read, has good advice about debugging)