Hello,
I want to install the conio library, i've followed a nice tutorial on
http://www.learncpp.com/cpp-tutorial/a3-using-libraries-with-codeblocks/ but i have problems while compiling, (i'm using the GNU GCC compiler). I've tried with the normal Conio version for windows, and the linux version too on
http://sourceforge.net/projects/conio4linux/.
Here is an example :
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
gotoxy(10,10);
cout << "Hello world!" << endl;
return 0;
}
If i use the window's conio.h file, the compiler says 'undefined reference to `gotoxy'', but if i use the linux conio.h, it gaves me an error because inside this file is written '#include <ncurses.h>
Have anyone ever installed conio on codeblocks under ubuntu?
Thanks.