I cannot find a way to open text files in Windows Phone 8 application with Cocos2dx.ifstream textFile; jsonFile.open("Text.txt");It is not a problem of path, as if I open a “PNG” file in the same location, it will get correctly opened.
ifstream textFile; jsonFile.open("Text.txt");
Make sure the file property is set as content -> yes
Thanks. In addition to setting the content to True, it was necessary to set the “Item type” to “Text”