i try to open a filename.txt file which is located in the same folder with my program but i get an error that it doesn't exist | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i try to open a filename.txt file which is located in the same folder with my program but i get an error that it doesn't exist

9th Aug 2016, 1:25 PM
Panos Lykoudis
Panos Lykoudis - avatar
6 Answers
+ 1
could you give your code ?
9th Aug 2016, 4:17 PM
penktadienis0
penktadienis0 - avatar
0
maybe filename.txt is a keyword .you can change it's name and try it again
9th Aug 2016, 3:26 PM
eciini
0
there could be an error while saving the txt file open it and try to save it again
9th Aug 2016, 3:45 PM
Peter...
Peter... - avatar
0
what do you mean a keyword?
9th Aug 2016, 4:58 PM
Panos Lykoudis
Panos Lykoudis - avatar
0
yes ill write the code in a bit
9th Aug 2016, 4:58 PM
Panos Lykoudis
Panos Lykoudis - avatar
0
maybe the file is in use by another program
28th Aug 2016, 11:29 PM
Mo Zed