I have a cpp file which is in a solution in Visual Studio 2008 which I use as a temporary area for me to write development code. As such the code isn't always in a compilable state.
Because of this, when I compile, I get loads of errors from this file.
Is there a way for me to tell the compiler to ignore the code in the file? The way I'm doing this at the moment is to just comment all the code but I don't really want to do this.
Is there a declaration I can use to tell the compiler to ignore all the code in the file?