Skip to main content

C computer program online | my experiences

Now run your  C ++/C computer program online, without installing the compiler. Click on "Run Program Here" above for this. Earlier, we have learned about the compiler and have installed it. You can have difficulty without reading it. Click here to read if you have not read my previous post.
First you have to save the file by typing program and then we will learn to execute it. Today we will learn how to do this.

Save C ++/C computer program online to file

 C computer program For Windows 

1. open dev-c ++ (Start -> All Programs -> Dev-C ++)
2 . If the window of "Tip of the Day" is opened in Dev-C ++ then close it. (You can also read these tips before closing, maybe it will probably work)
3. Now click on File (at the top left and right) and click on New and then click on Source File. Now you can start writing programs in the box. For now write the following program there.

C computer program online
C computer program online
4. Now go to Execute -> Compile in the menu.
Note: The above program will be written incorrectly without spelling errors or otherwise compile the error.
5. Now go to Execute -> Run in the menu. A black window in front of you will be written on which Namaskar will be written. This is the output of this program. Now you can close the black window.

C computer program online for Linux

1. Create a new file in any text editor (vim, gedit, emacs ...)
2 . Write the following program in that file and save it in any folder. Place the file name namaskar.c. Well you can put anything in the name but it is necessary to put .c at the end of the C program file.
C computer program
C computer program

3. Now open the terminal and use cd command to go to that folder where you have saved the program. Here 4 commands can be your main task.
1. ls: To see the names of all the files and folders located inside the current folder
2. cd ..: to come out of the current folder.
3. cd <folder name>: to go to a folder located inside the current folder
4. pwd: to see the full location of the current folder.

4. Here's the terminal type
gcc namaskar.c
And enter If no error has occurred, then your program has been successfully compiled.

5. Type to Run

./a.out

Namaskar will be written on the screen. And your program ran. Interact by typing anything to come out
==============

Congratulations, your first program has run successfully. If you have any problem, you comment on this post, along with your C / C ++ program and error so that we can easily recognize your mistake.
If you liked this article, please tell your friends as it can prove to be useful for them too !!

Comments

Popular posts from this blog

Biography of Manohar Joshi

Biography of Manohar Joshi: Manohar Gajanan Joshi is an Indian politician who has played a significant role in Maharashtra state politics. Born on December 2, 1937, in a middle-class family in a village called Ganeshpeth in Ratnagiri district, Maharashtra, Joshi's journey into politics was marked by his association with the Shiv Sena, a right-wing regional political party in India. Joshi's political career began in the late 1960s when he joined the Shiv Sena, which was then led by its founder, Bal Thackeray. He quickly rose through the ranks of the party due to his organizational skills, dedication, and ideological alignment with the party's principles, which advocated for the interests of the Marathi-speaking population of Maharashtra. In 1972, Manohar Joshi won his first election to the Brihanmumbai Municipal Corporation (BMC), marking the beginning of his electoral career. He served as a corporator in the BMC and later became the Mayor of Mumbai in 1976. Joshi's tenu...

Merry Christmas Messages and Statuses | History and Celebration Christmas - Happy Christmas Status and Messages for Social Media

Merry Christmas Messages and Statuses: Wishing you a Merry Christmas 2023! Here are some messages and statuses that you can share with your loved ones: "May your Christmas be filled with joy, laughter, and love. Wishing you a wonderful holiday season!". "Sending you warm wishes and good cheer this Christmas. Have a great time with your family and friends!". "May the spirit of Christmas fill your heart with peace and happiness. Merry Christmas!". "Wishing you a magical and blissful holiday season. Have a Merry Christmas and prosperous New Year!". "May this Christmas bring you all the love and luck in the world. Merry Christmas and a Happy New Year!". Wishing you a Merry Christmas 2023 Here are some Christmas messages that you can use to wish your friends and family a Merry Christmas: 1. Wishing you a Christmas filled with joy, love, and laughter. May the spirit of Christmas bring warmth to your heart and happiness to your home. 2. May y...

Best Money Earning Apps in India 2026 – Online Jobs & Income Guide

Best Apps to Earn Money Online in India (2026 Guide) Introduction With the rapid growth of Technology and digital platforms, earning Money online in India has become easier than ever. From students to professionals, everyone is exploring online Jobs and Business opportunities using mobile apps. In this blog, we will explore the Best Apps to Earn Money Online in India , along with selection process, benefits, earning power, and latest developments. Why Choose Money Earning Apps? Online earning apps are becoming popular due to: Flexible working hours No high investment required Easy to start with basic skills Opportunity to build a scalable Business Increasing demand due to Latest Development in digital economy Best Apps to Earn Money Online in India 1. Meesho Category: Reselling Business Earn by selling products without investment Share products via WhatsApp & social media Profit margin depends on pricing Best For: Housewives, beginners, side income seekers 2. Upwork Category...