Borland's once-amazing turboc2.0 is no longer a hero, but as a compiler for getting started with Emy C language, it is small and exquisite, fast, and still in collegeProgramDesign Courses play a very important role. The so-called Sparrow is small and dirty. Although the size of tc2.0 is less than 3 MB, you cannot use tc2.0 properly if it is not properly configured. The following describes some common techniques. Don't underestimate them. They once made a lot of people helpless!
One of the common problems is that after the program is input, there is no problem with the program itself. OK, compile, but the compiler prompts: Unable to open input file 'cos. OBJ '. the cause is that the Environment configuration is incorrect and the path is incorrect.
Solution: Open TC, choose Options> directories from the main menu, and change the library file and output path. For example, if your TC storage path is C:/turboc2, change the following settings:
Include directories: C:/turboc2/include
Library directories: C:/turboc2/lib
Turbo C directories: C:/turboc2
In this way, the compiler returns to normal. In addition, if you hate full screen operations, you can change the properties of TC and select the 'use' item on the screen as a window.