We use Turbo IDE that provides the central location where the entire C program that can be written, compile, link and run. Following steps are required for working with Turbo C IDE. By S. Zaffar Iqbal
Step 1: Select the icon/shortcut TC.EXE from the BIN folder present in the TC. This action will open the Turbo C++ IDE (program), where we can perform all the relevant activities associated with the C program. After properly opening the Turbo C IDE, a program with blue color will be appeared on the screen. It is the place where we do our programming work.
Step2: Now write the program.
Step 3: Now Save the file with the name “student.c” by pressing F2, or by selecting the Save option from the File Menu.
Step 4: Now compile the file by pressing the Alt + F9, or by selecting the Compile option of the compile menu (after the successful compilation of .c and object file .obj will be generated).
Step 5: Now link the file by selecting the link option of the Compile menu. After linking the file the .exe will be generated.
Step 6: Instead of Using the Option 4 and 5 directly press F9 or use the Make option of the of the Compiler menu, that which the program is compile and link with the single command.
Step 7: For running the program press Ctrl + F9 or select the Run option from the Run menu. After selecting this option, the Turbo C IDE, will run the program, but before running the IDE compile and link the file automatically, so instead of using the options 4 to 6, simply press the Run or Ctrl + F9, by which the compile, linking, and running process will be perform in a single tern.
Step 8: Since the speed of the computer is so fast, so we view the output Hello Students! Since after displaying the output return the control to the Turbo C IDE. For displaying the output press the Alt+F5.
Step 9: Press Alt + X, or select the Quit option from the File menu, to exit from the Turbo C IDE.
No comments:
Post a Comment