[quote user="Chris Zakrewsky"]out of bounds memory overwrite(s)[/quote]
Good point, Chris!
char buffer [12];
strcpy (buffer, "That tip also covers string buffers that are too short, like this one");
I've tripped myself up many times with that one. Fortunately I use C++ most of the time these days, so this never hurts:
std::string buffer;
buffer = "C++ string objects automatically allocate sufficient memory";