How to develope programs in Ubuntu using C
Daniel Carrera
daniel.carrera at zmsl.com
Fri Apr 28 15:17:52 UTC 2006
Use your favourite text editor to write the C code. Then open a terminal
and compile with:
gcc -Wall prog.c -o prog
This turns your code "prog.c" into the executable "prog". Try this wit a
"Hello world" program first:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
printf("Hello world\n");
return(0);
}
Cheers,
Daniel.
Sumesh K.S wrote:
> Hai
> iam a novice programmer, i like to build some programs under
> ubuntu. *How i develop programs under Ubuntu Using C.*
> OS: Ununtu 5.10
> From
> Ununtu.
>
--
/\/`) http://opendocumentfellowship.org
/\/_/
/\/_/ A life? Sounds great!
\/_/ Do you know where I could download one?
/
More information about the ubuntu-users
mailing list