Can anyone tell wat does this do?? -
_FOpen(Time_File,"r",fp_time);
_Fread(&st_Time,sizeof(TimeHead),1,fp_time,TimeFile);
Thankx
jazz
thankx for the reference, but i see that in fopen there are only two parameters passed. But in the above there are 3 paramenters, is it that-
1)fp_time is read into Time_file??
2)then in fread why are fp_rime and Time_File both parameters passed??
Can u please explain, i could'nt understand that.
thankx
jazz
Can anyone tell wat does this do?? -
_FOpen(Time_File,"r",fp_time); _Fread(&st_Time,sizeof(TimeHead),1,fp_time,TimeFile);
Thankx
jazz
Where did you find these functions?
In the assignment my prof has given, i need to understand it and explain the output.......
Can anyone help??
I think the _fopen
you are talking about is actually the inner implementation of fopen
as present in stdio.h
given by #define fopen(__file, __mode) __fopen((__file), -1, (FILE*)0, (__mode))
Hope it helped.
Bye.
There must be some documentation in the assignment that was given to you. Read it. We can't guess what a non-standard function is supposed to do just by looking at how it is called.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.