prog.cpp: In function ‘void draw()’:
prog.cpp:4:5: error: ‘cout’ was not declared in this scope
cout<<endl;
^
prog.cpp:4:11: error: ‘endl’ was not declared in this scope
cout<<endl;
^
prog.cpp:13:16: error: ‘board’ was not declared in this scope
if(board[i][j]==2)
^