G++ hello world 실습

Jmnote (토론 | 기여)님의 2015년 12월 27일 (일) 16:39 판
G++ hello world 실습

1 예시 1

[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 }}