I am getting this error. It is my first submission at CodeChef.
I have however eliminated conio.h and is using iostream and have also included “using namespace std;”.
prog.cpp: In function ‘int main()’: prog.cpp:13:15: error: ‘gotoxy’ was not declared in this scope gotoxy(3,i+2); ^ prog.cpp:15:15: error: ‘gotoxy’ was not declared in this scope gotoxy(4,i+2); ^ prog.cpp:28:17: error: ‘gotoxy’ was not declared in this scope gotoxy(y,n+3+j); ^
Please dont use the turbo compiler…that is not at all accepted any where…Always do with the gcc compiler…i was also once using this turbo…
happy coding…
I think gotoxy is now outdated. Moreover, isn’t it used to manipulate the screen coordinates if I’m not wrong . You may be getting RTE due to array size going beyond max capacity. Do check out your memory allocations . I’m not able to comprehend your code