Hello,

In the c++ tutorial there is a section on variables just after the first hello world program.

Using dev cc i have entered and compiled the example code that is included in the tute, but when i try to run it nothing happens.

What should i do?

I have made sure i have entered the code exactly as written, and the previous example codes worked fine...
The code is as follows:
Code:
#include <iostream> using namespace std; int main() { int thisisanumber; cout<<"Please enter a number: "; cin>> thisisanumber; cin.ignore(); cout<<"You entered: "<< thisisanumber <<"\n"; cin.get(); }