看看想想记记
2007-08-12Symbian

1条评论
671 views

symbian读写文件注意点:

1.所在的包为:

#include <stdio.h>

http://www.symbian.com/developer/techlib/v8.1adocs/doc_source/reference/reference-cpp/N102CE/FILETypedef.html#%3a%3aFILE

2.project中要加入的是:

MMP文件:

SYSTEMINCLUDE \epoc32\include\libc

LIBRARY estlib.lib

3。否则报错:
..\src\BirthdaysListView.cpp:36: the file 'stdio.h' cannot be opened
..\src\BirthdaysListView.cpp:361: undefined identifier 'FILE'
..\src\BirthdaysListView.cpp:362: undefined identifier 'file'
..\src\BirthdaysListView.cpp:363: undefined identifier 'file'

返回顶部