online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std;int main(int a,char*v[]){for(int i=0;i<a/3;i++){int z=1+i*3;auto l=string(v[z]);auto r=string(v[z+2]);for(int x=0;x<l.length()-2;x+=2){if(l.compare(r.substr(0,l.length()))==0){cout<<r<<endl;break;}string o="";o+=l.substr(0,x+2);o+=r;auto c=o.substr(0,l.length());if(l.compare(c)==0){cout<<o<<endl;break;}}}};

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