Jak korzystać z funkcji jakie oferuje TC (takich jak gotoxy, cprintf, czy clrscr) w Ubuntu. Próbowałem uruchomić TC pod wine, ale nie działało, tak samo pod DOSboxem, zainstalowałem Win95 pod VirtualBoxem, ale nie mogę stworzyć współdzielonych folderów, a żeby wirtualizować WinXP mam za słabą maszynę (2,4GHz 640 MB RAM). Znalazłem coś takiego
http://www.sandroid.org/TurboC/ ale to nie chce się skompilować:
Kod: Zaznacz cały
cc -O0 -g -DWITH_X -I/usr/X11R6/include -Wall -c -funsigned-char -o arc.o arc.c
In file included from arc.c:36:
graphics.h:485: error: conflicting types for ?getmaxx?
/usr/include/ncurses.h:815: error: previous declaration of ?getmaxx? was here
graphics.h:489: error: conflicting types for ?getmaxy?
/usr/include/ncurses.h:816: error: previous declaration of ?getmaxy? was here
make: *** [arc.o] Błąd 1
Na TC uparł się nauczyciel. Czy ktoś wie co zrobić, abym mógł kożystać z funkcji TC w Ubuntu?