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