?? ctest.cpp
字號:
// CTest.cpp
//
// Author: LiuLiping
//
// version: 1.0
// Date: 2006-1-19
//
// This Example print the member-variable's value.
// The Example define three type of member-variables such as TText,TInt and TReal.
// In member-function use a TAny type
// Include cheif content of MemoryManagement
#include "CommonFramework.h"
#include "CMemoryManagement.h"
//////////////////////////////////////////////////////////////////////////////
//
// Do the example
//
//////////////////////////////////////////////////////////////////////////////
void TestMemoryManangement()
{
CMemoryManagement* test = CMemoryManagement::NewL(console,'a',3,5.5);
CleanupStack::PushL(test);
test->Print();
CleanupStack::PopAndDestroy(test);
}
LOCAL_C void doExampleL()
{
TestMemoryManangement();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -