I am taking a class in C++ and not really learning very much but the basics.
I am already an average C programmer.
I would like to increase my knowledge of things that are wrong in C++ that was good in C programming. Not really looking for OOP related items.
Example items: (That I know about already.)
Do not use MACROS in most cases.
Use inline functions instead of things like "#define ADD(x,y) (x+y)"
Use constants "const" instead of "#define MAX_VALUE 10"
(Note: I know that enums are sometimes better to use for constants in both C and C++)
Try to avoid C-strings (char arrays) and use std:string instead.
Edit: Avoid the use of C type cast instead use static_cast and the others.