C言語なら俺に聞け( ..
[2ch|▼Menu]
64:デフォルトの名無しさん
10/04/14 02:03:12
>>63
ないよ。

ISO C++ 3.6.1 p2
> This function shall not be overloaded. It shall have a return type of
> type int, but otherwise its type is implementation-defined.

URLリンク(www.kijineko.co.jp)
> 一方、標準C++では、main の返却値の型は int でなければならないことが
> 明記されていますので、・・・

URLリンク(www.parashift.com)
> main() must return int. Not void, not bool, not float. int. Just int,
> nothing but int, only int.


次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

4990日前に更新/245 KB
担当:undef