- 64 名前:デフォルトの名無しさん mailto:sage [2010/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. www.kijineko.co.jp/tech/superstitions/void-main.html > 一方、標準C++では、main の返却値の型は int でなければならないことが > 明記されていますので、・・・ www.parashift.com/c++-faq-lite/newbie.html#faq-29.3 > main() must return int. Not void, not bool, not float. int. Just int, > nothing but int, only int.
|

|