Turbo C 2.0 Usage Guide

Source: Internet
Author: User
Tags dbase include versions

(Many of the commands or methods in this article apply equally to TC3)

Before I begin to read this article, I will first explain the installation and use of C language should be the most noteworthy places:

Many users in the download Turbo C 2.0 and Turbo C + + 3.0, asked me most of the use of the process encountered the following problems:

1) appears to be unable to find stdio.h conio.h and other include files;

2 Error occurred cos.obj unable to connect

These problems are due to not set a good path caused by the current download TC2,TC3 by the installation of the classification of about two versions: first, through the install installation, this kind of should have set the path Second, the direct decompression after the establishment of TC.EXE shortcuts, under Windows Double-click can be run (Dos directly run TC.EXE), the current domestic most of this, (because I will upload their own in the 269 network home TC2 English version recommended to more than 10 software stations), So notice the path setting before you use the download:

Set the method to: option->directories:

INCLUDE: [TC2/3 directory]/include

LIB: [TC2/3 directory]/lib

Output directory Please set up a working directory yourself to avoid mixing.

Finally, note that the change dir (changing the current directory) in files should be set to the directory of the current program.

(The following document is recommended by a friend, thanks here)

First, the origin of C language

The C language was invented in 1972 by Dennis Ritchie of the United States and was first used on the DEC PDP-11 computer of the UNIX operating system. It evolved from the development of the Early programming language BCPL (Basic combind programming Language). In 1970, Ken Thompson of At&t Bell Labs designed a more advanced language, named B, according to the BCPL language, and finally introduced the C language.

With the increasing popularity of microcomputers, many C-language versions have appeared. There are some inconsistencies between these C languages because there is no uniform standard. To change this, the National Institute of Standards (ANSI) has developed an ANSI standard for C to become the current C-language standard.

Ii. Characteristics of C language

C language developed so quickly, and became one of the most popular languages, mainly because it has a powerful function. Many well-known system software, such as Dbaseⅲplus, Dbaseⅳ are written in C language.

With the C language plus some assembly language subroutine, you can show the advantages of C language, such as Pc-dos, WordStar, etc. is written in this way. summed up the C language has the following characteristics:

1. C is intermediate language

It combines the basic structure and sentence of high-level language with the practicality of low-level language. C language can be like assembly language to the bit, byte and address to operate, and these three are the most basic work unit of the computer.

2. C is a structured language

The salient feature of structured language is the separation of code and data, that is, the various parts of the program are independent of each other except for the necessary information exchange. This structured approach can make the program level clear, easy to use, maintain and debug. C language is provided to the user in function form, these functions can be conveniently invoked, and have a variety of loops, conditional statement control flow, so that the program completely structured.

3. C Language Features complete

C language has a variety of data types, and introduced a pointer concept, can make the program more efficient. In addition, the C language also has a powerful graphics function, supporting a variety of monitors and drives. Moreover, the computational function and logic judgment function are also more powerful and can realize the decision purpose.

4. C language scope of application is large

C language also has a prominent advantage is suitable for a variety of operating systems, such as DOS, UNIX, but also applicable to a variety of models.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.