Quantcast
Channel: C File Input/Output on Windows - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by roottraveller for C File Input/Output on Windows

Use double // in windows for navigate through directory. #include <stdio.h>#include <stdlib.h>int main() { FILE *fp; /* file path in windows should be like this=...

View Article



Answer by BartBB for C File Input/Output on Windows

Try removing the front-slash from the file name. You seem to be doing everything properly, the slash might be the problem. If not, let us know.Edit: When I wrote my comment your fopen used "/test.txt"...

View Article

C File Input/Output on Windows

First of all, this is my fist stack overflow question, so forgive me if I format this wrong.I am a beginner at C, and I am up to a point in my book on File i/o. The following code, which is supposed to...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images