Game Development Community

can not locate the file created by openForWrite()

by jack518 · in Site Feedback · 11/09/2009 (3:37 am) · 0 replies

I tried this tutorial : http://docs.garagegames.com/tgb/official/content/documentation/Tutorials/Feature/FileIO%20Tutorial.html,
but the file test.txt created by OpenForWrite() can not be found in this director "./game/data/", but when I use isFile() function to check whether it has been created, and the return value was 1, further I tried the findFirstFile(), it also gave the path "game/data/test.txt", so everything indicated that the file test.txt had been created, but why i can not found it in the folder of "data".
Any idea ?