The basic course of C language (VI) Turbo C programming Preliminary (1)

Source: Internet
Author: User
This section mainly introduces the basic steps of Turbo C programming and how to compile, Debug and run the source program. and gives the common editing commands for Turbo C. Finally, the common errors of Turbo C compilation, connection and runtime are introduced.
First, Turbo C program design Basic steps
The programming approach consists of three basic steps:
First step: Analyze the problem.
Step two: Draw the basic outline of the program.
Step three: Implement the program.
3a. Writing Programs
3b. Testing and debugging procedures
3c. Provide data printing results
Next, we'll explain the specifics of each step.
First step: Analyze the problem
In this step, you must:
A. As a solution to the problem, determine the data to be produced (output). As part of this step, you should define the variable that represents the output.
B. Determine the data to produce output (called input), as part of this step, you should define the variable that represents the input.
C. Develop an algorithm to obtain output from the input of finite steps. This algorithm is defined as a structured sequential operation to solve the problem within a finite step. In the case of digital problems, this algorithm includes the calculation of obtaining output, but for the non digital problem, this algorithm includes many text and image processing operations.
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.