Share

acReadAnsiCharFromCFile

C++

inline bool acReadAnsiCharFromCFile(
    CFile * pCFile, 
    wchar_t & wch, 
    AdCharFormatter * pChFmtr
);

File

AcCFileWrappers.h

Description

This function reads an ANSI character from pCFile, and returns it in wch.

Note

If pCFile has been opened as a text file, then 'r' is automatically converted to 'n', but if pCFile is opened as a binary file there is no such automatic conversion.

Parameters

Parameters Description
pCFile Input pointer to file to be read from
wch Output reference to the ANSI style character read in
pChFmtr Input character format of pCFile

Was this information helpful?