Computer Science, asked by newtismypotato9505, 1 year ago

Netbeans8.2 how to run a c++ main file in the project

Answers

Answered by chetan2222
0
Run a C/C++ program on terminal using gcc compiler

Open terminal.

Type command to install gcc or g++ complier:

Now go to that folder where you will create C/C++ programs. ...

Open a file using any editor.

Add this code in the file: ...

Save the file and exit.

Compile the program using any of the following command: ...

To run this program type this command:

thank you



@chetan2222
Similar questions