Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-24-2007, 07:01 AM   #1
Registered: Mar 2006
Posts: 86

Rep: Reputation: 15
getch substitute

what is the substitute for getch()
it is not standard i know ..

i heard of curses ,, as it was given on the kdevelop help pages ..
but i dunno how to use that in programming

my problemis the i want to get a key pressed n it should not be buffered .. as it is in the case of getch() in windows bases compilers ..

i tried it out with bcc but still there is the segmentation fault ..
Old 02-24-2007, 08:11 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,584

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
This is perhaps the most common question asked in this forum, just use the search feature to find out some answers.


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
getch() strycnine Programming 6 01-30-2007 02:47 PM
Where is getch()....... rajsun Programming 2 03-28-2005 12:40 PM
what's the substitute of getch() etc. on g++ compiler aditya1 Linux - General 1 03-05-2005 12:59 AM
Help with getch... darkarcon2015 Programming 4 09-12-2004 09:48 AM
how to get getch() working with c++ cool_ashwin22 Programming 3 08-03-2004 11:58 AM

All times are GMT -5. The time now is 11:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration