Simple Performer Sample Program

New Message Reply Date view Thread view Subject view Author view

Lester Paul Vecsey (lvecsey++at++maple.nis.net)
Mon, 14 Nov 1994 19:54:43 +0000


Could someone please post a simple program example (With compile switches
please)?

I'm a Turbo C++ Programmer on the PC Platform, and before I get into
using those fun 3D SGI functions, I need to compile I simple program
first. Does anyone know the command on the SGI that checks for a
keyboard hit?

Example:
#include <stdio.h>

void main()
        {
        if (kbhit())
                printf("%c", getch());
        }

I can't even get this simple program to compile.. first of all because
the kbhit command doesn't work. Thanks


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:39 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.