Thread: Wierd Crash
View Single Post
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#1
Hi, when I run this code program crash. In scratchbox is all ok but in real device no. File save.txt is saved in /home/usr/.app/
Code:
FILE *file = fopen("/home/usr/.app/save.txt","w");
I tryed, but It crash too.
Code:
FILE *file = fopen("save.txt","w");
What is wrong? THX fr your replies.