online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> auto main(int argc, char* argv[])->int { std::cout << "argc " << argc << "\n"; for (auto i=0; i<argc; ++i) { std::cout << "argv[" << i << "] " << argv[i] << "\n"; } }

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