• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

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.
1 Solution
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.
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?
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.
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now