• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

C++ programming

I am new to programming, and I was thinking about how simple my programs are and was wondering if there was a IDE to program C++ on System 7.5? I will have to hook up my g3 to get the program on it, but I would love to be able to program on my SE. I am not expecting much. Hopefully just a simple compiler, perhaps something similar to the gcc for debugging.

 
There are two issues here: the System 7.5 angle should be easy to deal with but the 68000 may complicate matters. So I doubt that CodeWarrior will work. Maybe Symantec C++? If not, THINK Pascal should work. (Different language, but a nice language.)

 
If you program in regular C I know there was a THINK C. Never had it so I can't tell you if it's any good, but I've heard good reports about it. They talk about it a lot in "Mac Programming for Dummies".

 
At least as early as version 5.0, Think C supported object-oriented programming. It's not a full implementation of C++, but it would be a good place to start. Or you might try MPW.

 
If you really want to programme C++ I can recommend setting up a BeOS system. The API is really nice to work with, it's well documented, and there's several good books and pages to get you started.

But then I'd recommend that everyone get a BeOS system, cos it's great:)

If you're using an old Mac, though, you really should put in the effort to learn some assembly. The 68k is one of the nicest processors to write assembly for (and it actually makes sense to do it, as opposed to the PPC, where it doesn't really). Get yourself Fantasm and teh Beginner's Guide to Assembly. Also, Macsbug and some cracking tutorials to get your hands dirty... You will learn things about how a computer works that will be invaluable later on - if you start with C++, you might get the idea that the object orientatedness is actually real...

 
Patrickool93 : Hi, My boss and a few co-workers are from Ohio. It seems a popular place to be from :) .

macintoshme: I understand that Think C has a better debugger than gdb, MPW, or CodeWarrior.

 
You're understanding re debuggers is incorrect. The CodeWarrior debugger is very similar to that in THINK C but better integrated. The MPW debugging environment (SADE) is much more powerful, but less integrated and harder to use. I suggest simply forgetting about gcc and gdb on 68K macs.

 
Back
Top