Thursday, November 29, 2007

Turbo C

No explanation of the exact functionality of the various TurboC library elements is offered here, except for noting differences between Borland's version and my version. As Pablo Vidal points out on his UConio web page, if you don't know how to use these functions already, then you won't need the TurboC library, since you shouldn't be using it for new program development anyway. Consult Borland's Turbo C Reference Guide as needed.

But if you are porting or supporting a Turbo C program that somebody else has created, and don't have access to Borland's printed materials yourself, I'd offer the following advice: Download the free Turbo C development environment that Borland has kindly provided on their "museum" website. (Requires you to register, but registering is free.) The IDE has context-sensitive help, and you can find out what most functions do by typing the name of the thing (such as clrscr) into the source-code editor and then hitting ctrl-F1. Of course, this requires you to have some means of running an MS-DOS program.

Alternately, the online help for Borland's C++Builder program actually provides much fuller documentation of Turbo C library functions (even though it doesn't support a lot of them), and while C++Builder itself is not free, Borland allows you to download the Win32-based helpfile for free from their website . After you download it, the particular helpfile you want is the one which Borland calls the DOS Reference. Sadly, there's no guarantee that this documentation corresponds exactly to the functionality provided in Turbo C.

0 comments: