10 2009 档案
摘要:string mystr="100"; float price=200; stringstream(mystr) >> price;
阅读全文
摘要:ifstream in("STLExtension.h",ios::ate); if (in.is_open()) { cout << "file length is " << in.tellg() << endl; }
阅读全文
摘要:#include "StdAfx.h"#include <stdio.h>#include <Windows.h>#include <Tlhelp32.h>BOOL KillProcess(LPCTSTR lpszProcessName){ PROCESSENTRY32 pe32 = {sizeof(pe32)} ; HANDLE hProc...
阅读全文
摘要:CFindFile finder; if (finder.FindFile(_T("c:\\*.*")) ) { do { AtlTrace("%s\n",finder.GetFilePath()); } while ( finder.FindNextFile() ); }
阅读全文

浙公网安备 33010602011771号