Hi friends, my problem is only about file operations. When i type any file operation code, it doesn't create any text file or doesn't edit that i created manually text files...
I searched on web and i tried all solutions but they didn't effect. One of solutions is gave me an error but I didn't look to what was it(it was something like library error)
Between i sent my codes to friends but they worked on their PCs...
Also i am using Dev C++.(tried visual studio too for solve this problem but this didn't change anything for me)
Here is my (creating and) adding to text file function;
I created a new source code with above codes on Dev C++(also opened it as administrator) on my D disc and I give all rights to all users to which folder i save it for be sure. "Ide or compiler didn't give me any error" but "the codes didn't create a text file."
I don't know then. The only thing that is odd to me in that picture is that there is a '0' before your "Enter your nickname" text, which suggests that you're running code that doesn't match the above code.
I copied and pasted the last codes from my program already so they must be same. Also the you said quick check but it took about one minute, i don't know is that normal because normally it works after a few seconds.
And the output;
0Enter your nickname: ali
The user is succesfully added!
If you open cmd, then cd to D:\TEST, and then do dir, does the file show up in the list?
- If it does, that means it's indeed a display issue with your file explorer
- If it does not show up, it means something else is deleting your file