Share

AcFILE::attach

C++

void attach(
    FILE * pFILE
);

Description

Associates an existing FILE pointer with 'this' object.

Warning Attach method replaces the existing member FILE pointer with pFILE, any opened file pointer will be left dangling. Do not attach new FILE pointer if the AcFILE object already has an associated FILE pointer.

Parameters

Parameters Description
pFILE Input file pointer returned by a call to the C run-time function _tfopen

Links

AcFILE

Was this information helpful?