0

I'M trying to compile a very small cout<< console application in MSC C++ but the program flashes up and goes away so quick that I can't see anything that's going on. Below are my headings, what's missing? Thanks.

#include <Stdafx.h>
#include <iostream>

using namespace std;
5
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by Nick Evan
0

Hey very simple, before yor return the program place system("pause");
That will work

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.