0_0_24366088_1967.cpp:47:15: error: expected constructor, destructor, or type conversion before '(' token printf("%d %d\n",tempj,tempi); ^ 0_0_24366088_1967.cpp:48:5: error: expected declaration before '}' token } ^