online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <array> using namespace std; const size_t SIZE = 10; void initialize(array<int, SIZE> &); void foo(array<int, SIZE> &); int main() { array<int, SIZE> data; initialize(data); /* const auto BUF_SIZE = data.size() + 2; array<int, BUF_SIZE> buffer; */ return 0; } void initialize(array<int, SIZE> &data) { /*...*/ } void foo(array<int, SIZE> &data) { const auto BUF_SIZE = data.size() + 2; array<int, BUF_SIZE> buffer; }

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