home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- 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
- From: damiel@netcom.com (Paul Theodoropoulos)
- Subject: Novice needs a little help re C
- Message-ID: <1993Jan9.203224.2555@netcom.com>
- X-Spook-Fodder: hero heroin tree shrub bush birth life death FBI CIA NSA
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Sat, 9 Jan 1993 20:32:24 GMT
- Lines: 32
-
- at the ripe old age of 33, i've decided to learn C.
-
- i'm using a pretty darned good book entitled _Teach Yourself C in 21 Days_.
- while the authors have tried mightily to make to code portable for learning
- purposes, it does lean towards the PC. the last example in the first
- chapter has the statement
-
- fprintf( stdprn, "\f" );
- ^^^^^^^
- which seems to be a part of the PC stdio.h but not of stdio.h included with
- GCC2.3.3, since GCC chokes on that line. i'm assuming that this is declared
- differently on the amiga, and since GCC doesn't include the Commodore headers,
- i'm rather out of luck for the time being. however, i understand what the
- statement does, so i can leave it for later.
-
- my query: how do i get the Commodore includes? obviously if i spend the $250
- for SAS/C 6.1, i'll get the includes. but i don't have that kind of money
- these days, and don't want to spring for it until i know better how well i'll
- do learning C.
-
- my guess is that if i register as a developer, i can get the includes direct
- from Commodore. If that's the case, can someone enlighten me further as to
- how much that will cost, and where i should call/write and if indeed this is
- the only way to get the includes? (no suggestions of pirating, please)
-
- again, i'm an absolute newbie at this, so i apologize if this is a FAQ.
-
- --
- paul theodoropoulos damiel@netcom.com (hooools@well.sf.ca.us)
-
- "Those who will trade essential liberty for promise of security will have
- neither" - Benjamin Franklin
-