From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: that's no fun anymore (was HELP!!) Date: Fri, 10 Oct 1997 05:41:18 +0100 Organization: None Distribution: world Message-ID: <6TdR9HAuHbP0EwGt@jenkinsdavid.demon.co.uk> References: <3436B73B DOT 52DD AT cam DOT org> <19971005040701 DOT AAA06928 AT ladder01 DOT news DOT aol DOT com> <01bcd28e$7438cdc0$3da8bacc AT gbenjam> <01bcd30b$51beefe0$LocalHost AT default> <61k3vi$8nt AT sjx-ixn3 DOT ix DOT netcom DOT com> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 39 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <61k3vi$8nt AT sjx-ixn3 DOT ix DOT netcom DOT com>, firewind writes >Georg Kolling wrote: >> David Jenkins schrieb: >> > BTW Do you use printf(), malloc(), for(;;), if(), struct{} etc,etc?? >> > Just the same thing as using a library as far as I'm concerned. > >> you won't find for, if, struct as well as int, void, while, do, return, >> typedef, or operators like /, %, &, +, -, *, &&, ||, << in any library >> because they are the main elements of the programming language C. > >Well, no kidding, but imho the analogy is still valid. The operators are >equivilant to functions (like add(), subtract(), blah blah). Even if you >absolutely insist on throwing these out, I daresay you can't throw out >the Standard Library. > I've thought some more on this, I think my analogy is *wrong*, I think *ALL* the libraries should be thrown away from the beginning, newbies should NOT use them, they should learn how to use inline assembly from the beginning, even for things like printf(), malloc() and EVERYTHING else. BTW The above sarcasm was aimed at Georgs attitude not Firewinds, most newbies have moved from an interpretted language (Like Basic) to C, where all the putpixel, screen_open, stuff is handled by the interpreter, the concept of a programming environment without any support for graphics is completely alien. When I first installed DJGPP I was amazed to find I couldn't open a 640*480 screen and throw a few thousand stars around. I surfed for a while and learned that I needed to use assembly to do things I'd taken for granted before, but I didn't want to learn assembly, then I found some kind bloke had done everything I wanted allready in Allegro. I can forget learning assembly for the time being and concentrate on what I originally intended to learn, C. -- http://www.jenkinsdavid.demon.co.uk for C programmers. David Jenkins