I am working on a cocos2d-x project in Lua. I have a problem with syntax openien file, when I invoke:
cocos2d.CCFileData:new("file.txt", "w"+)
I always get error:
Cocos2d: ...80-C048-4F64-BC52-4849C0AD02F5/Main.lua:30: attempt to index field 'CCFileData' (a nil value)
What am I doing wrong? i cannot get any doc info. I am doing this on iOS.