Gcc hello world 실습

Jmnote bot (토론 | 기여)님의 2015년 2월 6일 (금) 02:25 판 (로봇: 자동으로 텍스트 교체 (-<source lang='dos'> +<source lang='cli'>))

1 개요

gcc hello world
[root@jmnote ~]# cat hello.c
#include <stdio.h>
 
int main(void)
{
	printf("Hello, world!\n");
	return 0;
}
[root@jmnote ~]# gcc hello.c
[root@jmnote ~]# ./a.out
Hello, world!

2 같이 보기

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