#include<iostream>using namespace std; class Kik { public: Kik(char tab[3][3]);}; int main (){ char g[3][3] = { {'X', 'X', 'X'}, {'O', 'O', 'X'}, {'.', '.', 'O'} }; Kik k1(g); return 0;}
Standard input is empty
/home/6a7irv/ccjli5QI.o: In function `main': prog.cpp:(.text.startup+0x3e): undefined reference to `Kik::Kik(char (*) [3])' collect2: error: ld returned 1 exit status
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!