資源簡介
這是這學期安卓作業 絕對通過了的做的是一個計算器

代碼片段和文件信息
//?CommSerial.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CommSerial.h“
#include?“CommSerialDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCommSerialApp
BEGIN_MESSAGE_MAP(CCommSerialApp?CWinApp)
//{{AFX_MSG_MAP(CCommSerialApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CCommSerialApp?construction
CCommSerialApp::CCommSerialApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCommSerialApp?object
CCommSerialApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCommSerialApp?initialization
BOOL?CCommSerialApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CCommSerialDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20932??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.aps
?????文件???????1201??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.clw
?????文件???????2119??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.cpp
?????文件???????4231??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.dsp
?????文件????????543??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.dsw
?????文件???????1368??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.h
?????文件??????82944??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.ncb
?????文件??????53760??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.opt
?????文件???????1673??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.plg
?????文件???????5426??2013-06-16?21:29??計算器\CommSerialSend\CommSerial.rc
?????文件???????8376??2013-06-16?21:29??計算器\CommSerialSend\CommSerialDlg.cpp
?????文件???????1461??2013-06-16?21:29??計算器\CommSerialSend\CommSerialDlg.h
?????文件?????110666??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial?Send.exe
?????文件?????110667??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.exe
?????文件?????219132??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.ilk
?????文件??????14483??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.obj
?????文件????5492816??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.pch
?????文件?????287744??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.pdb
?????文件???????2616??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerial.res
?????文件??????40673??2013-06-16?21:29??計算器\CommSerialSend\Debug\CommSerialDlg.obj
?????文件?????105623??2013-06-16?21:29??計算器\CommSerialSend\Debug\StdAfx.obj
?????文件?????205824??2013-06-16?21:29??計算器\CommSerialSend\Debug\vc60.idb
?????文件?????364544??2013-06-16?21:29??計算器\CommSerialSend\Debug\vc60.pdb
?????文件???????3651??2013-06-16?21:29??計算器\CommSerialSend\ReadMe.txt
?????文件???????1078??2013-06-16?21:29??計算器\CommSerialSend\res\CommSerial.ico
?????文件????????402??2013-06-16?21:29??計算器\CommSerialSend\res\CommSerial.rc2
?????文件????????780??2013-06-16?21:29??計算器\CommSerialSend\resource.h
?????文件????????212??2013-06-16?21:29??計算器\CommSerialSend\StdAfx.cpp
?????文件???????1054??2013-06-16?21:29??計算器\CommSerialSend\StdAfx.h
?????文件??????20792??2013-06-16?21:29??計算器\CommSeriaRecvl\CommSerial.aps
............此處省略30個文件信息
評論
共有 條評論