Hello fellow peeps!!!!
Ok, here it goes.... I have been messing around with Microsoft Visual Studio for Vista. I have been writing code, simple and advanced, and in some instances when i compile and run the program it will exit way too fast and not let me read the response to the code.
Here is a simple example in which the code exits before you can even attempt to read the result.
Let me thank you in advance, any help with this will be appreciated.Code:#include <iostream> using namespace std; int main() { int gallons, liters; cout << "Enter number of gallons: "; cin >> gallons; liters = gallons * 4; cout << "Liters: " << liters; return 0; }