Share

AcFILE::fputs

C++

int fputs(
    const wchar_t * pStr
);

Description

Writes a string to the file associated with the AcFILE object.

The method writes an ANSI/Unicode string to the output file, based on the current character format. Refer to setCharFormat() for more details on various character formats.

This method returns 0 on successful write or -1 to indicate an error condition.

Parameters

Parameters Description
pStr Output pointer to a user-supplied string buffer, this string has to be null-terminated

Links

AcFILE

Previous Declaration

int fputs(

const TCHAR * pStr

);

Was this information helpful?