open file problem
Posted on 2002-07-25
void main( void )
if((stream=fopen("C:\project\SetWiz.log","r"))== NULL )
printf( "The file 'data' was not opened\n" );
printf( "The file 'data' was opened\n" );
The file exists in the directory but the program can't open the file.
It seems that use the fopen to open a file, i only can open the file with current directory.
Izzit anyway i can open the file in any directory?