68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
C++ programming
Posted by: macintoshme on 2007-12-07 12:59:25
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.

Posted by: II2II on 2007-12-07 13:34:07
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.)

Posted by: Scott Baret on 2007-12-08 22:44:19
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".

Posted by: msieweke on 2007-12-29 22:43:24
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.

Posted by: Patrickool93 on 2007-12-29 22:56:38
Completely off topic, but...

msieweke: I saw in your post that your from Duluth, Ga. Thats where my aunt/uncle/cousin live πŸ™‚

Posted by: Kallikak on 2007-12-30 00:29:46
CodeWarrior is fine on 68K - both as target and as host.

Posted by: paws on 2007-12-30 01:02:19
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...

Posted by: msieweke on 2007-12-30 08:53:32
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.

Posted by: Kallikak on 2007-12-30 13:06:46
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.

1