Q. When I Make, Run, or Trace a program, Turbo C++ sometimes goes
through the compile and link process even when the object files
are up-to-date.
A. Turbo C++'s MAKE logic works solely on a file's date and time
stamp. If one of your source files is marked with a date
that's sometime in the future, the object files that are
created from it will always be older than the source file,
and Turbo C++ will always try to rebuild the file. You can fix
this by using TOUCH.COM to set the file to the current date
and time. You should also make sure that your system's date
and time are always properly set. TOUCH.COM is documented in
the file UTIL.DOC.
Q. How come my old Turbo C project files don't work anymore?
A. Project files now contain much more information about a project now,
and hence are no longer stored in ASCII format. To create a project
file, select PROJECT from the main menu, and follow the menus. To
convert your old project files to the new format, use the supplied
utility file PRJCNVT.EXE (documented in UTIL.DOC).
Q. How can I convert my Turbo C 2.0 project files to the new
format?
A. There is a conversion utility in your Turbo C++ BIN directory
called PRJCNVT.EXE. This program will perform the conversion.
Q. How come my project file is automatically loaded when I start Turbo C++?
I want to work on a different program.
A. If there is only one project file in the current directory, Turbo C++
will load and use that one file. If there are no project files, or
if there are multiple project files, Turbo C++ does not automatically
load one. Go ahead and create a new project. To use a specific project
file you can specify the name of that project file on the command
line used to start Turbo C++. For example, 'tc farley.prj' would
start up TC++ and load the 'farley' project.
Q. My right mouse button appears to do nothing. Can I change this so it
will set breakpoints?
A. Yes, under the menu for Options|Environment|Mouse there is a
dialog box for the right mouse button. You can change it to set
breakpoints, or to do many other things.
Q. How can I find out where my "null pointer assignment" is occurring?
A. Set a watch on the following expressions:
*(char *)0,4m
(char *)4
Step through the program. When the values change, the just-executed line
is the one that is causing the problem.
Q. When I compile my program, I get the following error:
Error: C:\TC\INCLUDE\STDIO.H: Overlays only supported in
medium, large, and huge memory models
What is happening?
A. The Overlay Support option has been selected and does not work
in the tiny, small, or compact memory models
No comments:
Post a Comment