Table of Contents for Programming Languages: a survey
Table of Contents for Programming Languages: a survey
C++'s rule of three: https://en.wikipedia.org/wiki/Rule_of_three_%28C++_programming%29
prefer STL vectors rather than raw arrays -- http://www.slideshare.net/olvemaudal/deep-c
don't prefix variable names with _ b/c this may conflict with some "reserved naming conventions for C, Posix, and/or compilers" -- http://www.slideshare.net/olvemaudal/deep-c
"A nice rule of thumb is to always write the member initializers in the order they are deļ¬ned." -- http://www.slideshare.net/olvemaudal/deep-c
compile with -Wall and usually -Wextra-pedantic and -Weffc++ as well -- http://www.slideshare.net/olvemaudal/deep-c
write constructor initializers in the order they will be evaluated -- http://www.slideshare.net/olvemaudal/deep-c
don't make any functions virtual in a class unless you are designing the class to be inherited from -- http://www.slideshare.net/olvemaudal/deep-c
be careful to use delete[] when appropriate, e.g. when you used new[] to allocate
---