Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Integrated Environment : TURBO C/C++ - Getting Started Answers to Common Questions

Questions: Why is Turbo C++ not able to find any of my #include files?
Answers: The compiler searches for include files in the Turbo C++ Include Directories path. You can specify this path through the Options|Directories menu. The Install Program Initially sets this path to the directory where it copied all the Turbo C++ *.h files.


TURBO C/C++: Installer and Installation

Questions: Why do I get the message:
Linker Error: Unable to open input file 'C0x.OBJ' A. The linker searches for Turbo C++ start-up and library files in the Turbo C++ Library Directories path.
Answers: You can specify this path through the Options|Directories menu. The INSTALL Program Initially Sets this path to the directory where it copied the start-up and library files.

Questions: How do I get Turbo C++ to link in my own libraries or use multiple source files?
Answers: Turbo C++'s Project facility is designed to allow you to work with multiple files.

[next]
Questions: Why does the linker tell me that all the graphics library routines are undefined?
Answers: The Options|Linker|Graphics Library item must be set ON, if you are using any Turbo C++ graphics functions and have not specified GRAPHICS.LIB in a project file.

Questions: Why does Turbo C++ report "Unable to open include file 'stdarg.h'" when I try to #include <stdio.h>?
Answers: The most probable reason is that you have exceeded the number of files that DOS can have open simultaneously. Add the line FILES=20 to your DOS CONFIG.SYS file. This allows DOS to open up to 20 files at the same time. CONFIG.SYS will only be effective after you have rebooted your computer. See the IBM DOS Reference Manual for details on the CONFIG.SYS file.

Questions: How do I change the colors of the editor and menus in TC?
Answers: The utility TCINST.EXE allows you to customize your colors.

Questions: How do I get a listing of my source code to my printer?
Answers: From within the Turbo C++ editor press Ctrl-K-P. This will print a marked block to the printer. If no block is marked, this key sequence will print the entire file in your editor.

CONTINUE READING »


This post first appeared on IngenuityDias, please read the originial post: here

Share the post

Integrated Environment : TURBO C/C++ - Getting Started Answers to Common Questions

×

Subscribe to Ingenuitydias

Get updates delivered right to your inbox!

Thank you for your subscription

×