Read text files

Hi

I have some source that I want to port to cocos2dx. In this program I read a text file that only contains float numbers using FILE and fscanf. But in cocos the code doensn’t work

Could somebody help me?

Thanks

I guess your 2nd parameter of fopen maybe incorrect. With “b” or without “b”, that’s a problem.