
splintrkillz
Enthusiast
Oct 12, 2006, 11:20 AM
Post #1 of 1
(262 views)
Shortcut
|
|
Help with .exe files
|
Can't Post
|
|
I've tried this with both Dev-C++ and Visual C++, but whenever I create a program, it stays on the screen for a fraction of a second and then shuts back down... I have only experimented with my "Hello World" application and one other program. I have made sure there are no bugs, and yet as soon as I click to open the program, it pops up, then shuts back down... Do any of you know how I could solve this problem? I made sure my coding was correct for it as well...
#include <iostream> int main() { std::cout << "Hello World!\n"; return 0; } Is there anything wrong with this that could be causing this problem, or is it just my computer?
_________________________________________________ lol! rules! - LGLS
|