Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

gcc compiler

  Date: Feb 05    Category: Unix / Linux / Ubuntu    Views: 355
  

for all you c programmers using gcc:

gcc on ubuntu seems not to support getch().
what do you use instead?

I need a function where I can collect keyboard input without
needing to hit Return after each character. To me, without a
whole lot of c experience, this is a puzzle.

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Feb 05    

What do you mean. Like in an sentence or some thing or an name?

 
Answer #2    Answered On: Feb 05    

Prototype of this function is in "conio.h", did you include it ?

This is a compiler/user issue, not related at all with the type of distro you
use : Ubuntu.

Can you show some code ?

 
Didn't find what you were looking for? Find more on gcc compiler Or get search suggestion and latest updates.




Tagged: