授業中に作成したプログラムを片っ端から乗っけていきです。C++ を中心に掲載中。

次のプログラムを実行して、制御の流れを確認せよ。

#include<iostream>
using namespace std;
void func1():
void func2();

void func1(){
	cout << "func1\n;
	func2();
	cout << "func1\n";
}

void func2(){
	cout << "fumc2\n";
}

int main(){
	cout << "main\n";
	func1();
	cout << "main\n";
	func2();
	cout << "main\n";
	return 0:
}


このページへのコメント

9RIIjA Thanks for the article.Really looking forward to read more. Much obliged.

0
Posted by check it out 2014年01月20日(月) 14:19:38 返信

V1JCBH Major thankies for the post.Really looking forward to read more. Want more.

0
Posted by watch for this 2013年12月20日(金) 18:21:10 返信

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Creative Commons

Creative Commons License
この作品は、クリエイティブ・コモンズ・ライセンスの下でライセンスされています。

メンバーのみ編集できます