摘要:
Windows编程,程序传参,参数分析代码本代码主要是将文件类型参数和非文件类型参数分开。 1 typedef std::vector<const TCHAR*> ParamVector; 2 3 void parseCommandLine(TCHAR * commandLine, ParamVector & paramVector) { 4 //params.erase(params.begin()); 5 //remove the first element, since that is the path of the executable (GetCommand... 阅读全文