online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> using namespace std; int main() { int mapArray[8][8]; for(int j = 0; j < 8; j++) { for(int k = 0; k < 8; k++) { mapArray[j][k] = (k+1)+(j*8); } } cout << mapArray[0][0] << endl; cout << mapArray[0][1] << endl; cout << mapArray[0][2] << endl; cout << mapArray[0][3] << endl; cout << mapArray[0][4] << endl; cout << mapArray[0][5] << endl; cout << mapArray[0][6] << endl; cout << mapArray[0][7] << endl; cout << mapArray[1][0] << endl; cout << mapArray[1][1] << endl; cout << mapArray[1][2] << endl; cout << mapArray[1][3] << endl; cout << mapArray[1][4] << endl; cout << mapArray[1][5] << endl; cout << mapArray[1][6] << endl; cout << mapArray[1][7] << endl; cout << mapArray[2][0] << endl; cout << mapArray[2][1] << endl; cout << mapArray[2][2] << endl; cout << mapArray[2][3] << endl; cout << mapArray[2][4] << endl; cout << mapArray[2][5] << endl; cout << mapArray[2][6] << endl; cout << mapArray[2][7] << endl; cout << mapArray[3][0] << endl; cout << mapArray[3][1] << endl; cout << mapArray[3][2] << endl; cout << mapArray[3][3] << endl; cout << mapArray[3][4] << endl; cout << mapArray[3][5] << endl; cout << mapArray[3][6] << endl; cout << mapArray[3][7] << endl; cout << mapArray[4][0] << endl; cout << mapArray[4][1] << endl; cout << mapArray[4][2] << endl; cout << mapArray[4][3] << endl; cout << mapArray[4][4] << endl; cout << mapArray[4][5] << endl; cout << mapArray[4][6] << endl; cout << mapArray[4][7] << endl; cout << mapArray[5][0] << endl; cout << mapArray[5][1] << endl; cout << mapArray[5][2] << endl; cout << mapArray[5][3] << endl; cout << mapArray[5][4] << endl; cout << mapArray[5][5] << endl; cout << mapArray[5][6] << endl; cout << mapArray[5][7] << endl; cout << mapArray[6][0] << endl; cout << mapArray[6][1] << endl; cout << mapArray[6][2] << endl; cout << mapArray[6][3] << endl; cout << mapArray[6][4] << endl; cout << mapArray[6][5] << endl; cout << mapArray[6][6] << endl; cout << mapArray[6][7] << endl; cout << mapArray[7][0] << endl; cout << mapArray[7][1] << endl; cout << mapArray[7][2] << endl; cout << mapArray[7][3] << endl; cout << mapArray[7][4] << endl; cout << mapArray[7][5] << endl; cout << mapArray[7][6] << endl; cout << mapArray[7][7] << 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