home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18423 < prev    next >
Encoding:
Text File  |  1993-01-09  |  2.0 KB  |  43 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!damiel
  3. From: damiel@netcom.com (Paul Theodoropoulos)
  4. Subject: Novice needs a little help re C
  5. Message-ID: <1993Jan9.203224.2555@netcom.com>
  6. X-Spook-Fodder: hero heroin tree shrub bush birth life death FBI CIA NSA
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Date: Sat, 9 Jan 1993 20:32:24 GMT
  9. Lines: 32
  10.  
  11. at the ripe old age of 33, i've decided to learn C.
  12.  
  13. i'm using a pretty darned good book entitled _Teach Yourself C in 21 Days_.
  14. while the authors have tried mightily to make to code portable for learning
  15. purposes, it does lean towards the PC. the last example in the first
  16. chapter has the statement
  17.  
  18.     fprintf( stdprn, "\f" );
  19.                  ^^^^^^^
  20. which seems to be a part of the PC stdio.h  but not of stdio.h included with
  21. GCC2.3.3, since GCC chokes on that line. i'm assuming that this is declared 
  22. differently on the amiga, and since GCC doesn't include the Commodore headers,
  23. i'm rather out of luck for the time being. however, i understand what the 
  24. statement does, so i can leave it for later.
  25.  
  26. my query: how do i get the Commodore includes? obviously if i spend the $250
  27. for SAS/C 6.1, i'll get the includes. but i don't have that kind of money
  28. these days, and don't want to spring for it until i know better how well i'll
  29. do learning C.
  30.  
  31. my guess is that if i register as a developer, i can get the includes direct
  32. from Commodore. If that's the case, can someone enlighten me further as to
  33. how much that will cost, and where i should call/write and if indeed this is
  34. the only way to get the includes? (no suggestions of pirating, please)
  35.  
  36. again, i'm an absolute newbie at this, so i apologize if this is a FAQ.
  37.  
  38. -- 
  39. paul theodoropoulos     damiel@netcom.com     (hooools@well.sf.ca.us)
  40.  
  41. "Those who will trade essential liberty for promise of security will have
  42.  neither" - Benjamin Franklin
  43.