CS220 Summary

"In America we stopped using corporal punishment and things have never been better. The streets are safe, old people strut confidently through the darkest alleys and the weak and nerdy are admired for their computer programming abilities."
-- Homer J. Simpson

While taking a closer look at the foundation of C++, the C programming language, we delved deeper into the fundamental concepts of programming such as

Understanding the details of these topics will help you better appreciate the problems you will face and the solutions you will implement as programmers.

C has been accused of making it easy to shoot yourself in the foot. Hopefully, you have learned some ways to avoid it. (Or at least walk away...)

Below are some fundamental and high-level points regarding C.


C is a subset of C++


It's very difficult to gauge performance without knowing what code the compiler generates.


Set the compiler warnings to the maximum level whenever possible.


Don't assume all computers are little-endian.


Computer memory is just a bunch of 1's and 0's.


The compiler hides a lot of pointer arithmetic.

Multidimensional arrays:

Write code for the long term.