Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: C++:
Help with .exe files

 

 


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...


Code
#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


 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.09 s on (CGI/1.1)