Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-20-2005, 08:03 AM   #1
LQ Newbie
Registered: Mar 2005
Location: India
Distribution: Red Hat 8.0
Posts: 11

Rep: Reputation: 0
C programming HELP

I am learning to program in C on Linux now a days.
System Details:

Distro :Red Hat Linux 9.0
Compiler: gcc

I need to know:

a) Equivalent of clrscr() in Linux:
In DOS clrscr() was used to clear display in C. It was used by including </B>conio.h</B>.
What to do to achieve the same in Linux ?

b) Which statment to use to color text in text mode in gcc and Linux?

c) How to use kbhit() in Linux. (I included conio.h but it didn't work.)

I am sorry for sounding so stupid, but I am totally new to Linux for programming.

Please help me out!!
Old 03-20-2005, 09:30 AM   #2
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
BGI graphics are deprecated!

You really want to look at the ncurses library.

If you are coming from TurboC.... you can check these guys out for hints, libraries and generally the info you need for porting.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
which programming language is used to do tcp/ip programming?? gajaykrishnan Linux - Networking 9 12-21-2012 05:16 AM
im new to programming but..... boxerboy Programming 6 08-26-2005 06:17 AM
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
C programming oranj Linux - Networking 1 12-07-2004 12:40 AM
Qt Programming... jinksys Programming 1 08-06-2003 04:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration