CompuServe Thread

#Programming The Amiga

9 messages in this thread
#107567From: Betty Clay/SYSOPJun 3, 1990 8:20 PM
Rick, When you write in Modula or C or BASIC, you will be programming in a 'high level language' – one written in words that people can understand. The compiler understands both the words you write and the binary language the machine understands, and when it compiles, it translates the instructions from English to binary. ……Betty
#107573From: Rick HerbertJun 3, 1990 10:24 PM
Betty, Thanks for clearing up exactly what a compiler does. It is not that hard of a concept to understand. I have a question about the C Language itself: Do different companies make their own versions of the C language? I also noticed in an AmigaWorld advertisement that Lattice Inc. says that it will "Make my programs take off" if I buy their product, The Lattice C Developement System. I don't know if you read AmigaWorld but the ad is in the June edition on page 16. Is this an all in one system or does a person need something else to actually begin to learn it? Rick Herbert Vancouver, B.C.
#107628From: Betty Clay/SYSOPJun 4, 1990 10:51 AM
Rick, There is an international standard for the C language, but it is just being implemented – the ANSI standard for C. All of the compilers are moving towards implementing the standard fully, but it has not been fully defined for very long, and it may be the next version or so before they have time to get in everything. Lattice is, so far as I know, the most fully compliant at the current time. Mostly, all C compilers follow the standards set by the authors of C, Kernighan and Ritchie. The Lattice compiler has options that optimize your code to make it run fast. That is probably what the ad was talking about. In my opinion (and I know just enough C to dislike it intensely), you will need a good bit more than the compiler itself in order to learn the language. You will need some good textbooks to help you learn the language, and then something to help you apply that language to the Amiga. Lots of people don't like the Abacus books, sometimes with good reason, but if you have never programmed and know nothing about C, I think you would profit from AMIGA C FOR BEGINNERS. It starts VERY simply, and not only does it tell you about the code to write – it also tells you about the various switches you need to know in order to get it to compile. The compiler can be quite intimidating in itself if you don't know about such things. You would probably also profit from something like C PRIMER PLUS from the Waite group. And a real must, I feel, is PROGRAMMER'S GUIDE TO THE AMIGA, by Rob Peck and published by Sybex. The compiler literature will tell you how to use the compiler, but it will NOT teach you to program in C. My opinion, of course. Others may differ. ……Betty
#107637From: Mike Spille/ManxJun 4, 1990 12:49 PM
A minor correction: Manx 5.0a is more ANSI conformant than Lattice currently is. -Mike
#107682From: ICD, Inc.Jun 4, 1990 8:24 PM
I'm not sure I would call something from the ANSI an international standard. Maybe an American national standard. If ISO did a C, though…;-) Craig
#107686From: Mike Spille/ManxJun 4, 1990 8:48 PM
ISO is doing C…and the result looks like it'll be more or less ANSI C. -Mike
#107725From: Don Curtis/SYSOPJun 5, 1990 1:13 AM
Craig, ANSI and ISO are working hand in hand on C. Or they were last time I 'looked'. Don
#107763From: ICD, Inc.Jun 5, 1990 7:16 PM
Well, basically I was making a joke of sorts. ANSI standards are not international of themselves. Craig
#108148From: Michael FiggJun 9, 1990 12:30 PM
For generic 'C', another probably good book is the one from Kochan. I don't know the name and actually I've never seen it but I've heard good things. Kochan has a lot of books now premarily in the UNIX environment that are suppose to be good. The only one I've got is one on networking and it is an excellent primer on different facilities. —Mike