0

Can anyone tell wat does this do?? -

_FOpen(Time_File,"r",fp_time);

_Fread(&st_Time,sizeof(TimeHead),1,fp_time,TimeFile);

Thankx
jazz

4
Contributors
6
Replies
7
Views
11 Years
Discussion Span
Last Post by WolfPack
0

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

0

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?

0

In the assignment my prof has given, i need to understand it and explain the output.......

Can anyone help??

0

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.

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.