Notice in the above example how they have a #using <mscorlib.dll> directive.
For this to work, you'll either have to use Visual Studio .NET (or Visual C++ .NET). Or, if you're using a non-.NET version of Visual Studio, you'll have to turn on CLR support in the project properties.