Visual C ++ 2008 Expressでは、新しいコンソールプロジェクトを作成すると、次のプログラムで開始できます。
//Explodey.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc,_TCHAR* argv[])
{
return 0;
}
私はそれについていくつか質問があります:
main関数がmainではなく_tmainなのはなぜですか?
パラメータはの代わりに
argv
なっているはずだと思いました。char* argv[]
_TCHAR
なに
stdafx.h
?
これは、私が慣れているC++と同じようには感じられません。