Syamiban Q&A (1)
1> 如何判断文件是否存在
有3个函数可以使用
第一个比第二个要方便些
2> 创建随机数
Math::Rand
3> symbian应用程序如何获得命令行参数
对于eka2来说,这个是非常简单的
有3个函数可以使用
- ConeUtils::FileExists
- BaflUtils::FileExists
- RFs::Entry
2> 创建随机数
Math::Rand
3> symbian应用程序如何获得命令行参数
- TBuf<KCommandLen> command; // You determine the value of KCommandLen
- User::GetCommand(command); // got it
Comments