G++ hello world 실습

Jmnote (토론 | 기여)님의 2015년 12월 27일 (일) 16:39 판 (새 문서: ==개요== ;G++ hello world 실습 <source lang='cli'> [root@zetawiki ~]# cat hello.cpp #include <iostream> int main() { std::cout << "Hello, World!\n"; return 0; } </source> <sou...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 
[root@zetawiki ~]# ./a.out 
Hello, World!

2 같이 보기

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