C++文法


sample00.cpp 【source】
// 関数のデフォルト引数の体験
// int foo( int a = 0 , int b = 0 );

sample01.cpp 【source】
// デフォルト引数を持つ関数のプロトタイプ宣言と実装
// プロトタイプ宣言がある場合は、プロトタイプのみデフォルト値を持たせる?


by masu
e-mail: massun.masumoto@nifty.ne.jp
URL : http://member.nifty.ne.jp/~masumoto/