Home > Back-end >  Linux first c hello world program
Linux first c hello world program

Time:11-26

1. The helloworld.
c source code# include & lt; Stdio. H>
Int main ()
{
Printf (" hello world \ n ");
return 0;
}
2, the compiler
GCC helloworld. C
By default generates a.out executable file
3, the executable program
./a.out
Hello world will see the output

CodePudding user response:

Blogger is a rookie

CodePudding user response:

Quite right??????

CodePudding user response:

This is a cross-platform, oh

CodePudding user response:

Much

CodePudding user response:

To explain the meaning of GCC has been installed

CodePudding user response:

Is very good, the main program and finally to leave a blank line, this is the gnu specification

CodePudding user response:

Would excitedly to answer, have never thought is a show that stick==lost, do you have a points==, famous duck

CodePudding user response:

There are the points to get? If you can give me: have a the original poster is more and more

CodePudding user response:

I will ten languages hello world program, I am proud of?

CodePudding user response:

You should send in the blog, rather than BBS · · · · · ·

CodePudding user response:

So the question is what problem, here,,

CodePudding user response:

Want to say?
  • Related