Gcc hello world 실습

1 개요[ | ]

gcc hello world
[root@zetawiki ~]# cat hello.c
#include <stdio.h>
 
int main()
{
	printf("Hello, world!\n");
	return 0;
}
root@zetawiki:~# gcc hello.c -o hello
root@zetawiki:~# ./hello 
Hello, world!
root@zetawiki:~# rm -f hello
root@zetawiki:~# cc hello.c -o hello
root@zetawiki:~# ./hello 
Hello, world!

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}