Run A C/C++ program in mint / ubantu / other linux
Hello friends, here we are going to run a c program file in linux mint.
Here is some step which return below the video ,
You can simply watch the video or follow the step ....
VIDEO
Steps for Run C program file in terminal
- first open software manager/ store and download the "G++" or you can also " apt get" for install g++.
- Open any editor and make a c/c++ file and save it on any location.
- Now open terminal and go to your file location (lets say it "Desktop" then go to Desktop by cd Desktop command).
- Now Type g++ filename.c -o outputfilename then press enter. (filename = your file name and outputfilename = what output name you want)
Comments
Post a Comment