I just started learning c++ last night, so please dont get too mad at my ignorence or if this is a previously asked question:
Using the bloodshed dev c++ compiler, whenever i attempt to create a dos program that involves a user imputing a variable to the program (i.e.
cout<<"Please enter a number:";
cout<<"You entered: "<<thisisanumber;
) the program always closes after the imput is entered, even when i place cin.get(); before return 0;. How can i make the output window remain and get it to display the appropreate responce? Thanks in advance for any help.