?? robot.cpp
字號(hào):
// Robot.cpp
#include "stdafx.h"
#include "Robot.h"
STDMETHODIMP CRobot::get_BatteryLife(LONG* pVal)
{
*pVal = m_nBatteryLife;
return S_OK;
}
STDMETHODIMP CRobot::put_BatteryLife(LONG newVal)
{
m_nBatteryLife = newVal;
return S_OK;
}
STDMETHODIMP CRobot::Speak(BSTR bstrSpeech)
{
MessageBoxW(0, bstrSpeech, L"Speech", 0);
return S_OK;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -