Monday, December 20, 2010

More C crutches

Here is a hash list of various bits of information I had to google in this language that I supposedly know:

Here is a reference of all the variable types recognized by Visual Studio 2005. I was entertained by the weird windows double underscore prefixes:

http://msdn.microsoft.com/en-us/library/s3f49ktz(v=vs.80).aspx

Here is a problem that most elementary school kids can solve these days that I had to google for. I liked the way the nerds on this message board chased down all of the wrong answers and shot them dead, leaving some pretty elegant final solutions:

http://www.velocityreviews.com/forums/t634980-p2-convert-32-bit-unsigned-int-to-16-bit-signed-int.html