Some Question about file

Some Question about file
0.0 0


Hi, i make a level file and put it in my assets folder. Then how can i use fread to get the file?? I have tried
string fullPath = CCFileUtils::fullPathFromRelativePath(filename.c_str());
but it still doesn’t work…
I guess getDataFromFile may solve my problem , but i just don’t know how to deal with the buffer it returned. Any idea how i can get int and struct from that buffer??
Thanks a lot for any help.


Download mis sold payment protection