Http://www.nulog.cn/
Turboc Software Package
What are the innovations of turbo2 · 0?
Configuration Requirements
Directory
Implementation of turboc
Volume 1: turboc2-0 User Manual
Volume 2: turboc2-0 reference manual
Readme file
Install turboc System
Chapter 1 installation and startup of turboc
How to install turboc on a floppy disk
Run install
In this chapter...
C beginners
Microcale
Turbopascal programmer
Turboprolog programmer
Introduction
Experienced C programmers
Reading suggestions
Hello. C: processing, running a single file program
Chapter 2 turboc2-0 Preliminary Program Design
In this chapter...
Summary
Edit a program
Output to computer
Write the second program
Write Disk
Run sum · C
Chapter 3 compiling and running of turboc Program
Debugging
Trace syntax error
Summary
In this chapter...
Project: use multi-file programs
Process multiple file programs
Re-talk about Error Tracking
Power of project-make
The other two functions of make
Compile and connect from the command line
Executable files
Command Line example
Any options on the command line
Turboc cfg file
Configuration file conversion utility tcconfig. exe
Make Utility
Future events
Chapter IV program debugging
How does the integrated debugger work?
In this chapter
Example 1: Debug a simple program
Set and use breakpoints
One-step execution
Calculation Expression
Use CTRL-BREAK
Nextword and wordlen Functions
Stop and think about it
Summary
Change the expression value
Default expression in computing window
Variable name Restriction
Format description
Example 2: Find the error in wordlen
Example 3: breakpoint debugging
Edit and delete monitoring expressions
Zoom in and switch window
Scroll monitoring expression
Example 4: print loop
Search for function definitions
Call Stack
Back to execution location
Example 5: large program debugging
Multiple source files
Summary of Debugger commands and hotkeys
Suggestions for efficient software testing
Develop a set of standard methods
Complete MODIFICATION TEST
Preventive Design
Find the same error
Debug embedded assembly code
Bottom-up debugging
Chapter 5 turboc integrated development environment
Chapters to be read
In this chapter...
How to get help
Part 1: How to Use TC
Main Menu
Edit command brief description
How to operate source files in the edit window
Monitoring window
Message window
Debug menu commands and hotkeys
Debugger Screen Display
Integrated Debugger
1. File menu
Part 2: menu commands
2. Edit commands
Run menu
Compilation menu
Project menu
Options Menu
Compiler
Linker Connector
Environment Settings
Directories directory
Arguments Parameters
Debug menu
Retrieveoptions
Saveoptions
Break/watch menu
TC configuration file
Part 3: configuration and pick files
What is a configuration file?
What are pick tables and pick files?
Part 4: Other features and editing commands
Tabulation
Auto indent, rollback, and Optimized Filling
Double-limit match
Edit key redefinition
Seven Elements of Programming
Chapter 6 preliminary design of turboc Program
In this chapter...
Output
Data Type
Operation
Input
Condition Statement
Loop
Function
Chapter 7 Further Program Design of turboc
Data Structure Overview
In this chapter...
Pointer
Array
Structure
Switch statement
Flow Control Command
Stream and stream I/O
C language programming format: modern and traditional comparison
Use of function prototype and complete definition of Function
Errors in C Programming
Path name with a C string
Misuse of pointers
The switch statement forgets break.
Confuse equal signs with equal signs
Subscript of the array
Chapter 8 turboc video functions
About windows and sdks
About video modes
What is a window?
What is a viewport?
In this chapter...
Console I/O functions
Programming in text mode
Text-modes type
Text window
Text color
High-performance output: directvideo variable
Graphic Mode Programming
Graphics Library functions
Program Structure
Chapter 9 considerations for turbopascal programmers
In this chapter...
Comparison of programming elements
Example
Data Structure Overview
Pointer
Array
String
Structure
Union
Programming difficulties
Case sensitivity
Type conversion
Constant, variable storage, initialization
Dynamic Storage Allocation
Command Line Parameters
File input/output
Common Errors for Pascal programmers to use C
Overview of turboc and turboprolog
Chapter 10 interfaces between turboc and turboprolog
In this chapter...
Example 1: Add two integers
Example 2: Use a mathematical Library
Example 3: stream mode and Storage Allocation
Turboprolog
Example 4: Draw a three-dimensional bar chart
Identifier (K & R 2, 2)
Chapter 4 turboc Language Reference
In this chapter...
Note (K & R 2, 1)
Constants (K & R, 2, 4)
Keywords (K & R 2 and 3)
Hardware Description (K & R 2 and 6)
String (K & R 2, 5)
Char, Int, and enum (K & R 6, 1)
Arithmetic conversion (K & R 6 and 6)
Conversion (K & R 6)
Type description and modifier (K & R, 8, 2)
Operators (K & R 7, 2)
Structure and Union (K & R 8 and 5)
Function Type modifier (K & R 10, 1, 1)
External Function Definition (K & R 10, 1)
Statement (K & R 9)
Lexical unit replacement
Scope rules (K & R 11)
Compilation control line (K & R 12)
File embedding (K & R 12, 2)
Pragma (ANSI C3, 8, 6)
Error command (ANSI C3, 8, and 5)
Conditional compilation (K & R 12, 3)
Row control (K & R 12, 4)
Empty compilation command (ANSI C3, 7)
Predefined macro names (ANSI C3, 8, and 8)
Turboc predefined macros
Elimination of components (K & R 17)
8086 registers
Storage Mode
Chapter 2 turboc Advanced Programming Technology
Storage segments
Near, far, and huge pointers
Six storage modes of turboc
Hybrid programming: Address Modifier
Near or far Function Description
Near, far, and huge pointers
Use library subroutine
Hybrid connection
Parameter transfer sequence of C and Pascal
Hybrid programming
Assembly Code Interface
Call C functions from an assembly subroutine
Low-level programming: pseudo variables, embedded assembly, and interrupt functions
Pseudo Variable
Embedded Assembly
Inline assembler Bootstrap data and functions
Use the C structure member
Use of Jump instructions and labels
Interrupt Function
Use low-level features
Use floating-point library subroutine
8087/80287 chip Simulation
If you do not use a floating point ......
8087/80287 math coprocessor
Registers and 8087/80287
Use the floating point function matherr
Fragmented issues