With its speed and well-integrated compiler, editor, linker, and symbolic debugger, Think C 5.0 is an excellent software-development tool, especially for beginners. The compiler, designed specifically for the Mac, is 100 percent ANSI-compatible. You can create applications, DAs, device drivers, and stand-alone CODE resources with it. Think C includes extensive libraries and source files for accessing all the Macintosh Toolbox routines, including System 7 features. The compiler also has a number of non-ANSI extensions, such as inline assembly language, that make it even easier to write programs.
The heart of a Think C program is the project: the set of source-code modules and libraries that you collect to make up a complete program. The compiler tracks all the program fragments and their dependencies, simplifying software development. If you make a change to one module and then try to run the updated program, the compiler first asks if you want to update the project. If so, it recompiles all the modules that refer to the source code you just changed.
Think C includes both an editor and a linker as part of the development emironment — you don’t have to switch back and forth between separate programs. After you make changes to your program, all you need to do is choose the Run command. Think C automatically links all the modules and launches your program in a separate partition (if you’re using MultiFinder or System 7). If you’re running the Finder with a System prior to 7.0, Think C quits itself and launches your program. When your program finishes. Think C starts up again.
In addition to the compiler, editor, and linker. Think C’s symbolic debugger lets you follow the execution of your program at the source-code level. You can trace each program statement as it executes and examine the program’s values of variables and data structures. The debugger, a separate program, is activated simply by turning it on in the development environment. When you start running your program, the debugger windows appear. The source window shows your source code and the current execution point. The data window shows variables and structures and their values.
Overall, Think C has a lot of features that make it easy to develop programs. For instance, when you’re editing source code, you can hold down the option key and click on the editor window’s title bar, and a list of all the referenced files appears. If you select one of those file names, another editor window opens for that source file. The program also has a variety of options for controlling code optimization, non-ANSI extensions, and processor-specific code generation.
Although version 5.0 is not a radical improvement on past versions, it is a significant upgrade. Changes include System 7 compatibility (32-bit addressing, virtual memory, and support for the Inside Macintosh, Volume VI, specifications), increased code optimization, and improved editor shortcuts. Version 5.0 also includes the Think Class Library 1.1, a set of source-code modules that help you create object-oriented programs. TCL 1.1 includes support for many System 7 features, including Apple events and file aliases.
While Think C 5.0 is easy to use, beginners won’t find the documentation helpful. It doesn’t include a C language reference manual, and the user’s manual does not discuss Macintosh programming or the Toolbox in any depth. In spite of the lack of hand-holding, Think C is an outstanding development environment.
Mann, Steve. (July 1992). Think C 5.0. Macworld. (pg. 210).