I have some code and I read that conio.h doesn't exist in Linux but ncurses.h is a Linux replacement for it. Well, my program uses conio.h and compiles in Windows but in Linux when I replace the include I get a lot of errors that resemble this:
Code:
/tmp/ccfERCrG.o(.text+0x19): In function `main':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<c
har> >::basic_string[in-charge]()'
Any help on fixing this problem is appreciated.