K, so i decided that i'm fed up of VC++. It was throwing me lots of stupid errors. Anyway, i'd heard that Code::blocks is much better, and a bargain for 30 MB.
Installed it and stuff with ease, and decided to test it with a helloworld program. Thing is, when i decided to compile the program, it wouldn't compile.
* Release" uses an invalid compiler. Skipping... Nothing to be done.
Followed some google links that told me to see the compiler and debugger settings, and check to see the compiler. I have Borland C++ compiler in, say, C:/Borland/BCC55.
So i set the SELECTED COMPILER dropdown to Borland C++ compiler(5.5, 5.82) and in search directories, set the path to the respective directories.
It still was stubborn and showed that error. More googling followed. I was led to project>build options where i confirmed that the selected compiler was Borland.