Flash Games

 FAQ   Search   Members   Groups   User Control Panel      Login 

It is currently Wed Dec 03, 2008 12:18 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Stopping executing script...
PostPosted: Mon Sep 29, 2008 4:31 pm 
Offline

Joined: Sat Sep 06, 2008 5:06 pm
Posts: 40
Hello, I don't have much knowledge, but I am still learning. (Sorry for imperfect English...)
Script:
Quote:
// pattern.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"


#include <iostream>
using namespace std;

int main ()
{
int i;
cout << "Hello World!" << ".\n";
cout << "Please enter the text: ";
cin >> i;
cout << ".\n";
cout << "You have entered: " << i;
return 0;
}

This was compiled in visual cpp 2008. After execution when I input variables i value, the window disappears and I didn't make to read what I have written. I need to know the best ways to stop window from disappearing.
Hope someone could help me...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User:
Pass:
Log me on automatically each visit: