online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; int main() { string name12; string city12; //Can use function getline to read the entire line. getline(cin, inputLine); cout << "Enter a name...first and last if you want: "; getline(cin, name12); cout << "Same deal with city: "; getline(cin, city12); cout << endl; cout << "So you said your name is: " << name12 << "And you live in " << city12; cout << " city." << endl << endl; return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue