Re: [C++]Programs
Smartass? I'm not the one saving a textfile as .exe and expecting it to run. On the other hand, saving something as a .bat WILL make it run, if you entered normal DOS commands. So either way, you really do not seem to know what the hell it is you're talking about. Not to mention your grasp of the english language seems to be even worse.
As for compiling a textfile, thats quite easy if you have a compiler and a command line interface and your compilers executable is in the systems path environment, because with most compilers it then becomes as easy as writing "name_of_compiler.exe name_of_source.cpp" and letting it run, though ofcourse this is only a bare minimal example of what your compiler can really do.