public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Puneet Singhal" <puneet@opussoft.com>
To: "Craig Cowen" <craig@allmaui.com>, <help-gcc@gnu.org>
Subject: RE: newbie question
Date: Wed, 10 Jan 2001 23:32:00 -0000	[thread overview]
Message-ID: <NEBBJEIPELDNPPCBOLOPKEGDCBAA.puneet@opussoft.com> (raw)
In-Reply-To: <3A5D60BE.A5156868@allmaui.com>

try using getch instead of getche
use the foll command for compiling
  cc  [ flag ... ] file ... -lcurses [ library ... ]

and in the code incl the foll
#include <curses.h>

int getch(void);

:) -----Original Message-----
:) From: gcc-help-owner@gcc.gnu.org [ mailto:gcc-help-owner@gcc.gnu.org]On
:) Behalf Of Craig Cowen
:) Sent: Thursday, January 11, 2001 12:59 PM
:) To: help-gcc@gnu.org
:) Subject: newbie question
:) 
:) 
:) I am going over a beginners book on ANSI C and it references a header
:) file conio.h and a function getche().
:) The function is suppose to get one character and force a return.
:) How can I use this with gcc or how can I get the same functionality.
:) 
:) uname -a
:) FreeBSD athlon 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #14: Fri Nov 24
:) 19:36:27 GMT
:) 
:) cc -v
:) sing builtin specs.
:) gcc version 2.95.2 19991024 (release)
:) 
:) Thanks
:) 


  parent reply	other threads:[~2001-01-10 23:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-10 23:22 Craig Cowen
2001-01-10 23:24 ` Lawrence W. Leung
2001-01-10 23:32 ` Puneet Singhal [this message]
2001-03-14  9:16 Stagner, Robert
2001-03-14 10:16 David Korn
2002-02-07 16:47 M.A-R. Abdullah
     [not found] <616BE6A276E3714788D2AC35C40CD18D3F27FE@whale.softwire.co.uk>
2002-02-08  1:14 ` Rupert Wood
2007-05-25 19:32 Newbie question Takatsugu Kobayashi
2007-05-25 21:12 ` Artūras Moskvinas
2007-05-26  8:54 ` Matthew Woehlke
2007-07-06 20:10 newbie question Leonardo Santagostini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NEBBJEIPELDNPPCBOLOPKEGDCBAA.puneet@opussoft.com \
    --to=puneet@opussoft.com \
    --cc=craig@allmaui.com \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).