資源簡介
利用VS2008寫的一個計算器程序
代碼片段和文件信息
//?mycounter.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“mycounter.h“
#include?“mycounterDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CmycounterApp
BEGIN_MESSAGE_MAP(CmycounterApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CmycounterApp?構造
CmycounterApp::CmycounterApp()
{
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CmycounterApp?對象
CmycounterApp?theApp;
//?CmycounterApp?初始化
BOOL?CmycounterApp::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
In
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????101888??2011-12-06?14:52??mycounter\Debug\mycounter.exe
?????文件????1124768??2011-12-06?14:52??mycounter\Debug\mycounter.ilk
?????文件????3525632??2011-12-06?14:52??mycounter\Debug\mycounter.pdb
?????文件???????7852??2011-12-06?14:52??mycounter\mycounter\Debug\BuildLog.htm
?????文件?????????67??2011-12-06?14:52??mycounter\mycounter\Debug\mt.dep
?????文件???????1196??2011-04-29?11:24??mycounter\mycounter\Debug\mycounter.exe.em
?????文件???????1260??2011-04-29?11:24??mycounter\mycounter\Debug\mycounter.exe.em
?????文件???????1120??2011-12-06?14:52??mycounter\mycounter\Debug\mycounter.exe.intermediate.manifest
?????文件??????20445??2011-12-06?14:52??mycounter\mycounter\Debug\mycounter.obj
?????文件???24969216??2011-12-06?14:52??mycounter\mycounter\Debug\mycounter.pch
?????文件??????23940??2011-05-04?08:58??mycounter\mycounter\Debug\mycounter.res
?????文件??????56558??2011-12-06?14:52??mycounter\mycounter\Debug\mycounterDlg.obj
?????文件?????464394??2011-12-06?14:52??mycounter\mycounter\Debug\stdafx.obj
?????文件?????904192??2011-12-06?14:52??mycounter\mycounter\Debug\vc90.idb
?????文件????2027520??2011-12-06?14:52??mycounter\mycounter\Debug\vc90.pdb
?????文件??????59328??2011-05-04?08:58??mycounter\mycounter\mycounter.aps
?????文件???????1686??2011-04-29?11:02??mycounter\mycounter\mycounter.cpp
?????文件????????459??2011-04-29?11:02??mycounter\mycounter\mycounter.h
?????文件???????5966??2011-05-04?08:58??mycounter\mycounter\mycounter.rc
?????文件???????5502??2011-04-29?11:23??mycounter\mycounter\mycounter.vcproj
?????文件???????1427??2011-12-06?14:56??mycounter\mycounter\mycounter.vcproj.GH-E3B9E97A2922.lingling.user
?????文件???????7145??2011-12-06?14:52??mycounter\mycounter\mycounterDlg.cpp
?????文件???????1494??2011-05-02?20:30??mycounter\mycounter\mycounterDlg.h
?????文件???????2927??2011-04-29?11:02??mycounter\mycounter\ReadMe.txt
????.......?????21630??2003-07-24?09:52??mycounter\mycounter\res\mycounter.ico
?????文件????????365??2011-04-29?11:02??mycounter\mycounter\res\mycounter.rc2
?????文件???????1555??2011-04-29?11:23??mycounter\mycounter\resource.h
?????文件????????140??2011-04-29?11:02??mycounter\mycounter\stdafx.cpp
?????文件???????1796??2011-04-29?11:02??mycounter\mycounter\stdafx.h
?????文件???????1030??2011-04-29?11:02??mycounter\mycounter\targetver.h
............此處省略11個文件信息
- 上一篇:c++ primer 第四版習題解答
- 下一篇:俄羅斯方塊游戲(C語言)
評論
共有 條評論