C/C++の宿題片付けます 139代目
■ このスレッドは過去ログ倉庫に格納されています
0286これが和訳できないなら黙ってろ
2010/08/14(土) 12:51:49ttp://www.bohyoh.com/CandCPP/FAQ/FAQ00042.html
5.1.2.2.1 Program startup < ”プログラムの開始”を”main関数”とすることに関する記述
[#1] The function called at program startup is named main.
The implementation declares no prototype for this function.
It shall be defined with no parameters:
int main(void) { /* ... */ } < 根拠
or with two parameters (referred to here as argc and argv,
though any names may be used, as they are local to the
function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent,9 or in some other implementation-defined
manner.
■ このスレッドは過去ログ倉庫に格納されています