Search In This Website

Minggu, 01 Juni 2025

C Hello World In Turbo C++

Practise this lesson to create a new c program Hello World in Turbo C++
  1. After a Turbo C++ program is displayed.


  2. Click on File Menu, then click New to create a new file.





  3. Type this following Hello World C program source code in Turbo C++:

    #include <stdio.h>
    main()
    {
     printf("Hello World!"); return 0;
    }

  4. Then, click on File Menu, then click Save to Save a file.






  5. Enter the file name in Save File As textbox


  6. Click on OK button.


  7. NOTE: YourFileName.CPP is mendatory, without .CPP extension program will give an ERROR!!
  8. After file has been saved successfully. Click on Compile menu.




  9. After file compilation successful. Press a key to continue.


  10. To run the program. Click on Run menu, then click on Run.



  11. There are two methods to see an output program. First method, click Windows menu, then click on Output.


  12. You will see the output of C program.


  13. Second method, click Windows menu, then click on User screen.


  14. You will see the output of C program.


    Notes To see the more clear picture, click on the picture.


< previous Start Turbo C++


<< back to Study About C and C++ 1


c programming language, c developer

Bibliography

http://stackoverflow.com/

https://turbo-c.net/

Related Post

Karakter Pembentuk Program C atau Program C++

Lima Tipe Data Dasar Bahasa C

visual studio code extension

Tidak ada komentar:

Posting Komentar