How to build the C program




Linux

1.Open terminal

Use the vim editor

Open record using,

2.vim file.c (file name can be anything but it should end with dot carbon extension) command.

To Edit the print:

3.Press i to go go enter mode.

Type your program.

4.To save the file:

Press Esc push furthermore then type :wq. It will save the file.

To compose aforementioned plan:

Model,

5.gcc file.c

To Run the program:

Type,

6. ./a.out




Eyes

Read the latest Dev CPP compiler from the trusted visit. Installed it. Its GUI based compiler, it will be easy to use.

In file menu click new

Dev CPP new date

Type your program

Saver it somewhere yours to

In Execute tab,

click compile

and then click run

or straight-line away click compile press run button.

Dev CPP compile and run