I am using Visual C++ to compile. By standalone I was referring to a .exe file. When I compile, an .exe is built but when I try to run it, it flashes through DOS. (Dos loads quickly then disappears). How can I run this exe by itself?
I am using Visual C++ to compile. By standalone I was referring to a .exe file. When I compile, an .exe is built but when I try to run it, it flashes through DOS. (Dos loads quickly then disappears). How can I run this exe by itself?
>How can I run this exe by itself?
You are running it by itself. But it needs a window to run in, so it creates a temporary command prompt. If you want the program to run in the background then you'll need to create a Win32 application and simply make the window invisible. But such a program is beyond the scope of this forum. You can ask in the Windows Programming forum though.
My best code is written with the delete key.
http://faq.cprogramming.com/cgi-bin/...&id=1043284385Originally Posted by geomark