Symbian C++
文章平均质量分 69
liutaotao0622
一个学生,一个不好不坏的学生
展开
-
常量指针
const char* p1 = "Mouse"; // pointer to const identifierchar* const p2 = "Small"; // const pointer to non-const variableconst char* const p3 = "Horse"; // const pointer to a const identifierp1 =原创 2009-06-16 11:38:00 · 337 阅读 · 0 评论 -
操作符
• Prefix increment: a=++b means b=b+1; a=b;• Postfix increment: a=b++ means a=b; b=b+1;原创 2009-06-16 11:54:00 · 311 阅读 · 0 评论 -
Template functions模板函数
// template function for a simple addition functiontemplate // template parameter listT Add(T a, T b) // function template name{return a+b;}// int exampleint a = 2;int b = 2;int res = Add(a,b); // i.e原创 2009-06-16 15:55:00 · 542 阅读 · 0 评论 -
Introducing Symbian OS thin templates
Symbian OS provides its own variation of templates. This is partly becausecompilers at the time of EPOC’s inception lacked sufficient templatesupport. More importantly, templates may lead to code dupl原创 2009-06-16 16:02:00 · 424 阅读 · 0 评论 -
类型比较
T CLASSESSymbian type Native type TAny* void* TBool bool TInt int TUint原创 2009-06-16 16:08:00 · 357 阅读 · 0 评论 -
释放堆内存
TInt UseCat(CCat* aCat); // Forward declarationCCat* InitializeCatL(){CCat* cat = new(ELeave) CCat(); // (1)CleanupStack::PushL(cat); // (2) See Section 5.5cat->InitializeL(); // (3)User::LeaveIfError原创 2009-06-16 19:10:00 · 447 阅读 · 0 评论 -
Detecting Memory Leaks检测内存泄漏
Detecting Memory Leaks检测内存泄漏Critical InformationMemory is a limited resource on Symbian OS and must be managedcarefully to ensure it is not wasted by memory leaks. In addition, anapplication must gr原创 2009-06-16 22:01:00 · 497 阅读 · 0 评论 -
浅谈移动开发者的职业规划
浅谈移动开发者的职业规划(2009-10-20 20:28:29)标签:it 浅谈移动开发者的职业规划 收藏作者: k歌之王 2009-09-09 忙里偷闲和大家探讨手机开发的职业规划,本人也是一名刚找到职业发展方向的二年级生,个人观点不太成熟,欢迎交流。 这里指的移动开发主要指智能手机上的转载 2009-10-21 11:17:00 · 1265 阅读 · 0 评论 -
s60 2nd/3rd开发小tips(随时想到随时加)
s60 2nd/3rd开发小tips(随时想到随时加) 北京理工大学 20981 陈罡(1)模拟器里面测试的程序如何删除?for s60 2nd平台:删除/epoc32/release/wins/udeb/z/system/apps/myapp的目录即可for s60 3rd平台:a、删除/epoc32/release/winscw/udeb/myapp.exeb、删除/epo转载 2009-10-20 22:42:00 · 896 阅读 · 0 评论