How to compile clanguage in Ubuntu Linux.

How to Compile and Run a C Program on Ubuntu. This document shows how to compile and run a C program on Ubuntu Linux using the GCC compiler. Open up a terminal. Search for the terminal application in the Dash tool (located as the topmost item in the Launcher). Use a text editor to create…

By.

min read


Perform the steps below to compile Clanguage in Ubuntu:

  1. Start by searching the current directory :
$ cd Directory_Name 
$ cd Documents/clanguage o one directory at a time
  1. Then use GCC Compiler to : If this command doesn’t work then CLICK HERE.
$ gcc -Wall -o File_exe_name File_name.c

The -Wall command shows All Warnings. The -o command shows the Temporary file name.

Then at last run the execute file:

$ ./File_exe_name

That’s it. now you can see the answer, and you can start using it.


Leave a Reply

Your email address will not be published. Required fields are marked *

en_US