Solved

C complier in HPUX

Posted on 2001-06-11
3
304 Views
Last Modified: 2009-12-16
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.
0
Comment
Question by:cjwong041900
3 Comments
 
LVL 48

Accepted Solution

by:
dbrunton earned 30 total points
ID: 6178861
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
 

Author Comment

by:cjwong041900
ID: 6179563
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
 
LVL 2

Expert Comment

by:franceskinm
ID: 6185012
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question