vikasmk
March 8th, 2008, 05:37 AM
well i saw that there isn't a conio.h in Linux ,
I needed the 'gotoxy()' function really bad, is there any other function similiar to it.
yabbadabbadont
March 8th, 2008, 05:46 AM
conio.h is not part of the C standard, but a DOS/Windows extension to it. As far as I know, the only way to get the same functionality in Linux, is to use a library such as ncurses. The wikipedia article has more details, as well as links to some tutorials.
http://en.wikipedia.org/wiki/Ncurses
Zugzwang
March 8th, 2008, 10:11 AM
You could try to use libconio (http://sourceforge.net/projects/libconio), but I'm not sure if that is mature enough.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.