Rationalist
Programmer
This is my code
int dTmpX;
FILE * fileid;
fileid = fopen("c:\textm1.txt", "r");
fscanf(fileid,"%d",&dTmpX);
And this is the error:
Debig Assertion Failed!
Program: C:\blablabal\
File: fscanf.c
Line:54
Expression: stream != NULL
The file exists and everything is ready but the program doesn't work, can anyone help me out?
I'm using visual c 6.0 by the way.
int dTmpX;
FILE * fileid;
fileid = fopen("c:\textm1.txt", "r");
fscanf(fileid,"%d",&dTmpX);
And this is the error:
Debig Assertion Failed!
Program: C:\blablabal\
File: fscanf.c
Line:54
Expression: stream != NULL
The file exists and everything is ready but the program doesn't work, can anyone help me out?
I'm using visual c 6.0 by the way.