G++ hello world 실습

Jmnote (토론 | 기여)님의 2015년 12월 27일 (일) 16:43 판 (→‎예시 1)
G++ hello world 실습
[root@zetawiki ~]# cat hello1.cpp
#include <iostream>

int main()
{
	std::cout << "Hello, World!\n";
	return 0;
}
[root@zetawiki ~]# g++ hello1.cpp 
[root@zetawiki ~]# ./a.out 
Hello, World!

같이 보기

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