"G++ hello world 실습"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
2번째 줄: 2번째 줄:
;G++ hello world 실습
;G++ hello world 실습


<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# cat hello.cpp
[root@zetawiki ~]# cat hello.cpp
#include <iostream>
#include <iostream>

2016년 3월 29일 (화) 10:26 판

1 개요

G++ hello world 실습
[root@zetawiki ~]# cat hello.cpp
#include <iostream>

int main()
{
	std::cout << "Hello, World!\n";
	return 0;
}
root@zetawiki:~# g++ hello.cpp -o hello
root@zetawiki:~# ./hello 
Hello, World!

2 같이 보기

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