CELEBRATE EARTH WEEK
Save 70% on video training and simulators now through April 27*—use code EARTH. Shop now.
Question 1: How do you install the Turbo C Lite compiler?
Solution 1: Getting Started - Unzipping The CD Files
Open the TCLITE.ZIP file from the Teach Yourself C++ in 24 hours Program group. When Winzip opens, click the I Agree button if you agree with the licensing of Winzip to continue. You will then see all files in this zip group. Click the Extract button in the Winzip toolbar.
Select the hard drive from the "Directories/Drives" list so that the "Extract To" box has X:\ (Where X=the drive letter of the hard drive that you are installing the software to) with no folder name after it.
Then click the Create Dir... button in the lower right corner and create a folder on the hard drive to extract this software to called TCLITE.
Important:: After opening the desired TCLITE.ZIP file within WinZip or your favorite compression program, you MUST make sure that the folder structure remains intact when you select the EXTRACT option.
(Select the "Use Directory Names" option by placing a checkmark within the WinZip EXTRACT option dialog box.)
Using Windows Explorer or File Manager, go to the TCLite folder on your hard drive and double click. Then double click the bin folder. Inside the bin folder is a file called TC.exe. This file starts the software and will bring up a DOS window with TCLite running in it.
Question 2: I can't run the .exe files. It says that they "must be run from within the IDE."
Solution 2: The LITE version of the product does not allow you to re-distribute programs that you create. The programs you create (the EXEs) require that the IDE (which stands for Integrated Development Environment) be used to run them. Basically, the LITE version is a semi-functional version. If you want to create EXEs that you can distribute, you will need the full version of Borland Turbo C++.
Question 3: Where are the answers for the quizzes and exercies that are at the end of each chapter?
Solution 3: Answers are on the CD in a file called, "apps.pdf," that must be opened with Adobe Acrobat Reader. The answers start on page 39 of that file.
Question 4: I am using TCLite. I am trying to compile a program and get error: Unable to open include file.
Solution 4: You will need to check your hard drive to see the exact path (location) for the TCLite\Include and TCLite\Lib directories. After you write down the exact location, open your compiler. Click on "Options," then "Directories." What is showing there should match the path that you wrote down. Example: if your Include and Lib directories path is: C:\TCLite\ then you'll need to make sure that it shows for Include Directories and Library directories: \TCLite\Include - \TCLite\Lib (If you have to revise these directories, be sure you reboot your computer before you try to compile again.) You don't have to have anything in the Output, unless you want to specify a certain location where your .exe will be saved.
Teach Yourself C in 24 Hours gives beginning programmers everything they need to know to start writing their own programs in C, the most popular programming language and the core language taught in schools. It also provides a battery of skills to help readers reach the next level in programming. And with the bonus compiler included on the CD-ROM, Teach Yourself C in 24 Hours is a self-contained starter kit.