Created
December 24, 2014 03:05
-
-
Save bg1bgst333/b865afbde4638a391f20 to your computer and use it in GitHub Desktop.
main_function#main_function.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ヘッダのインクルード | |
#include <iostream> // C++標準入出力 | |
// C++形式でのmain関数の定義 | |
int main(){ // voidは省略可. | |
// 以下の処理を実行 | |
std::cout << "main_function" << std::endl; // 出力演算子"<<"で"std::cout"に"main_function"と出力する. | |
// プログラムの終了 | |
return 0; // システムに0を返す. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment