To make a long story short:
Before my pc crashed and I lost everything, I could compile and run windows.h programs fine. After re-installation of msvc++ 6.0, bloodshed, and borland I am still unable to compile windows programs.. I've tried playing with a bunch of compiler settings.. I've created win32 projects (which I didn't have to in the past) and although my programs will compile, they do not run (nothing happens upon program execution) The win32projects wizzard seems to only add StdAfx.cpp and one other similar file.
* Have two hard drives c: and f: and all my compilers are installed on f:
*Trying to build a stand-alone .cpp will result in "unresolved external _main" error and other unresolved windows functions
*Trying to build as a win32 project will result in good compilation, but no working program
*I can physically locate the windows.h file in msvc's "include" folder, so I know it's there. (doesn't seem to be much to it though)
Googling for information results in conformation that I should create win32 projects.
Specific compiler error attemped as a stand-alone (not a win32 project):
--------------------Configuration: pixel1 - Win32 Debug--------------------
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/pixel1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
pixel1.exe - 2 error(s), 0 warning(s)