Wednesday, November 18, 2009

Calling Program Turbo C

Calling Program Turbo C

Language C or C + + is a programming language. Language C includes the middle-level programming language, meaning language C can be studied more easily because it is easy to understand but has a high capacity. Language C can be used to engineer the program to all needs, whether for business applications, mathematical or even games. All languages have a weakness or their own excess. Likewise with the language C. As part of the excess of the C language is as follows:

  • Many have an operator to process / manipulate the data.
  • Language C includes a structured language, so the program can be more easily understood or developed.
  • Language C is more easily understood because it is more similar to human language.
  • High execution speed.
  • Pointer data to know the weaknesses of the language C is:
  • The number of operators or in writing programs sometimes cause confusion the user.
  • The need for accuracy in the writing program because of the command (statement) in C are case sensitive (uppercase and lowercase distinguished. Lack -deficiency will be a lot happening in the beginning to learn the language C, but when used to make the program or learn a little difficulty will decrease gradually
To enter into the environment Turbo C + +, there are several ways that can be done, the following methods developed with the assumption that users are using the operating system window.1.Fasilitas
Run
 
from the start menu

  • Click the Startthen select Menu Run
  • Click the Browse then locate the folder in which there TC.EXE files. Usually located at C: \ TC \ BIN or C: \ TC or C: \ TURBOC3, and then click TC.EXE.
  • Press the OK button, wait until the program appears C + + .2. MS-DOS Prompt
  • Click the Start then menu Programs select
MS-DOS Prompt.

  • Type the command CD \ TC \ BIN if the C + + programs are stored in the sub directory C: \ TC \ BIN and then press the Enter key.
  • Type TC.EXE or TC, then press Enter, wait until the program appears C + + .3. Short Cut
  • Click the right mouse button on the desktop and then select sub menu New on the popup menu and then Select
Short Cut.

  • Click the Browse then locate the file TC.EXE in subdierktori C: \ TC \ BIN or C: \ TC. Then click the button Next
  • Write cutnya short name, then click the button Next 
  • Choose a short cut icon and press the Finish
  • To run it, double-click the short cut that has been made.
Basic concepts of program structure C + + can be viewed as a collection of one or several functions. The first function that must exist in the C + + programs already in the specified name, which is called main (). A function in C + + program opened with the open brace '(' and ends with a closing brace ')'. Among these curly braces can be written statements C + + programs. Whereas in the beginning of the program needs to input header files. The shape of the header file is # include Examples of program structure C + +:



No comments:

Post a Comment

 
THANK YOU FOR VISITING