linux doesn't need those type of file extensions, but if you want, use:
g++ -o hi.exe hi.cpp
edit: if you're talking about compiling that in linux and having it run in windows/dos, it won't to my knowledge. you have to compile the source code in windows/dos so it will run in windows/dos.
Last edited by megaspaz; 09-22-2003 at 11:39 PM.