On 05/10/2011 01:45 PM, hatem gamal elzanaty wrote:
> my question is what development packages i need to start c programming
> on linux and what is not can you help in that please give me detailed
> instructions and syntax i'm  a new to c on linux

Once you have your compiler installed, type this:

cat > hello.c << EOF

#include <stdio.h>

void main() {
     printf("Hello, world!\n");
}

EOF

gcc -o hello hello.c
./hello

I get the impression you already know C to some extent, so hopefully 
this along with the other friendly replies you've received are enough to 
get you started.

Shane

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to