📄 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 + -