易截截图软件、单文件、免安装、纯绿色、仅160KB

symbian Open C and Open C++ 相关

nokia wiki:http://developer.symbian.org/wiki/index.php/Open_C_and_Open_C%2B%2B_Technical_Overview/zh-hans
symbian上开发openc时需要注意的问题
http://blog.csdn.net/sizhiguo/archive/2009/05/21/4206138.aspx
第一:如printf、sprint、文件操作、socket操作等,模拟器屏幕都会出现白屏等待,并且是一直下去。
解决方法:
1、修改配置文件c:/system/data/config.ini(模拟器路径),重定向stdio/stdout到文件。
具体如下:
config.ini(c:\system\data\)
[STDIO]
STDIN = MEDIA1
STDOUT = MEDIA4
[MEDIA1]
type = file
path = C:\system\data\in.txt
max size = 100
[MEDIA2]
type = serial
baud = 214
port = COMM::10
[MEDIA3]
type = console
width = -1
height = -1
[MEDIA4]
type = file
path = c:\system\data\out.txt
max size = 1000
2、上述办法之后还不行请关闭杀入软件,尤其是360软件!
真机上安装文件时需要首先安装如下文件,所在目录为c:\Symbian\9.2\S60_3rd_FP1\nokia_plugin\openc\s60opencsis
1)pips_nokia_1_3_SS.sis
2)glib.sis
3)ssl.sis
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/sizhiguo/archive/2009/05/21/4206138.aspx


相关文档:

C Primer Plus里关于文件结尾判断的范例

当尝试从文件读入字符时,getc()函数会返回EOF,所以程序会在下一次读取时才会发现文件结尾。此时程序在试图读取空文件,可能会发生一些问题。所以应当在循环入口处进行判断。
int ch;
FILE * fp;
fp = fopen ("test","r");
while ((ch = getc(fp) != EOF)
{
putchar (ch);
} ......

#ifdef __cplusplus extern "C" { #endif 的解释

关于#ifdef __cplusplus extern 
面试时被问到过,不甚明了,网上百度一下,整合了两个仁兄的文章,如下。:-)
时常在cpp的代码之中看到这样的代码:
#ifdef __cplusplus
extern "C" {
#endif
//一段代码
#ifdef __cplusplus
}
#endif
  
    这样的代码到底是什么意思呢?首先, ......

linux 2.6.24在S3C2410上的移植(1)(基于GEC2410)

1.下载linux kernel源代码
到http://www.kernel.org/下载linux内核源代码,这里我们使用2.6.24.4的内核.
解压linux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ tar -xvjf linux-2.6.24.4.tar.bz2
[matt@localhost GEC2410]$ cd linux-2.6.24.4
2.修改Makefile,设置交叉编译器
ARCH  ?= arm
CROSS_COMPILE ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号