TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: all
from: Scneider7024,427
date: 1992-06-05 16:08:26
subject: #15746-CGF.L

 #: 15789 S3/Lnguages
    05-Jun-92 16:08:26
Sb: #15746-CGF.L
Fm:  Scneider7024,427
Toar Griffth 7600,41 ()

I got ahold of him!  He s still here ieU.S. andhas a sailig busines!
As soon a I get he newCGFX. libral have my ANDEL09K eady for Pal.
I have run theimage from  stubiver Ibuilt o testit out o makeit
a totally uiendl progam, I eed th new CGibrary. 
See ya!

Bert Seder

#: 15741 S12OS9/6800SK)
02Jul-92 02:1145
Sb: #C_Quesion
Fm: LARRYOLSON 7227,347
To: all


C guru ...

   Would someone please poit out thee with th following supposedly smpleC progrm.
------------------------------------------
#include 
main()
{
  int x;      char *a[5];

     for (x = 0; x <= 5;++x)
     getsa[x]);

     for (x = 0;  <= 5; +x)
          print("%s\[x]);

     exit(0);
}
--------------------------------------------   
   This is n example out of the book Going From Basic To C. It is
supposed to get 5 characters from the keyboard and then print them, but
all I get from it is a crashed machine.
   So far the other examples that I have tried, have worked, but for
some reason unknown to me this one doesn't work. 
    What simple thing am I overlooking ????
 


There are 2 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.