I want to read a .txt file and need to some operation as find and getLines on it. So, It can be done directly or may be need to generate .plist file.
If it can possibly directly than how we will perform it. Plz give me any suggestion. thanks in advance.
Read txt in cocos2dx
On iOS, you can use read/write functions to read the .txt file. On android, because the resources are packed into apk, so you should read it by zip lib. CCFileUtils::getFileData() has done for it.