online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> #include<map> #include<string> #include<sstream> using namespace std; int main() { string S; //cin >> S; getline(cin, S); stringstream ss(S); map<string, int> m; string token; string a[100]; int count=0; while (ss >> token) { a[count] = token; count++; } for(int i=0; i<=count; i++) { cout<<a[i]<<endl; } }

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