C++ I/O File stream advantages over C language

FILE is a data structure which it gets information about file structure in the os. So if you want to work with a file you have to define a variable pointer with that.

FILE defination:

typedef struct _iobuf
    {
        void* _Placeholder;
    } FILE;

Leave a Comment