online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include <vector> void someCApi(const char** c, size_t len) { for (size_t i=0; i<len; ++i) { std::cout << static_cast<int>((*c)[i]) << std::endl; } } int main() { std::vector<char> buff{1,3,5,7,11,13,17,19}; const char* buffPtr = buff.data(); someCApi(&buffPtr, buff.size()); 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