摘要: 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... 阅读全文
posted @ 2013-01-14 15:08 Jojodru 阅读(583) 评论(0) 推荐(0) 编辑