working with files on "start without debugging"
Posted
by
user1472066
on Stack Overflow
See other posts from Stack Overflow
or by user1472066
Published on 2012-06-26T21:03:04Z
Indexed on
2012/06/26
21:15 UTC
Read the original article
Hit count: 146
c
I'm programming in C, and I have the following problem:
I use fopen and try to read from a csv file, that is currently storred in the folder of the exe file of the program.
the program works fine in debug mode and release mode, but when I try to run the program in "start without debugging" on visual studio 2008 express edition, the program stops working and windows is showing a message: "*.exe has stopped working. a program caused the program to stop working correctly. windows will close the program and notify you if a solution is available".
I've tried running the program on several computers, and it's the same.
another information I can give you is that if I enter the full path of the file (C:....file.csv) - then is works just fine, without any problem.
I know I didn't write any code, but I hope someone will have an idea why this can happend.
thanks is advance.
© Stack Overflow or respective owner