Solved

C complier in HPUX

Posted on 2001-06-11
3
300 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Syslinux UEFI USB boot 4 354
Make bootable USB with kon-boot 6 450
El Capitan: danger of a hard restart? 11 79
WORM compliant device  what is it? 12 54
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now