C complier in HPUX

I am trying to write a C program using HPUX C complier. I wanted to do a clrscr and getch command but find that the conio.h header file is not found inside the /usr/include
directory. Is there anyway I can have similar commands or any other workarounds are welcome.
cjwong041900Asked:
Who is Participating?
 
dbruntonConnect With a Mentor Commented:
You could use the gcc compiler (from GNU).  You would have to install it on your HP system though. :)

Once you have done that there are files on the Net that support the conio.h functions through gcc.
0
 
cjwong041900Author Commented:
Thanks for your comment dbrunton but the constraint is that i could not install any other software on the system. I am wondering if there are other C commands in the /usr/include directory that might have similiar abilities?
0
 
franceskinmCommented:
Try to look for curses or ncurses library (curses.h, ncurses.h). I think conio is windows specific library and can be replaced by curses. If this library is not on your machine, try to download it and include it in your project.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.