Solved

C complier in HPUX

Posted on 2001-06-11
3
302 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
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.

810 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