i am using C from Linux 7.1(full installation),but i cannot import #<conio.h>. should this be available , or if not, from where to get.
i am using C from Linux 7.1(full installation),but i cannot import #<conio.h>. should this be available , or if not, from where to get.
no you cant use conio.h on linux
you will need to use ncurses
also if you want to really use conio.h
try using wine and run your dos based compiler on it
and then run the dos exe's thru wine as well
jv
thanks for your hint,but i know neither ncurses nor wine .
But does this mean, that it isn't easy to get this , because i dont need it really.
Happy Chrismas to India,especially to GOA,my favorite holiday destination .
he's saying instead of putting
#include <conio.h>
use
#include <ncurses.h>
get it?
and Wine is a windows emulator, so if you really need conio.h you can get wine, get a DOS-based compiler (IE: djgpp) and compile and run the program under wine.
#include<curses.h>
is The UNIX version of DOS's
#include<conio.h>
...Watch out though, The function names aren't the same although both libs do about the same stuff (Direct Terminal IO)
For Example :
move() = curses.h
gotoxy() = conio.h
....That Should Help Some....