C++ cstdio | Programiz D11 Phase 2 Skip to main content

C++ <cstdio>

The C++ <cstdio> header file includes several macros and functions of C-style input/output library.

flushes any buffered data to the respective device

reads the next character from given input stream

reads n number of characters from file stream

opens specified file

write a formatted string to file stream

reads specified no. of characters from stream

opens a new file with stream associated to another

read data from file stream

sets file position indicator for given file stream

writes specified number of characters to stream

reads next character from input stream

reads next character from stdin

reads line from stdin

Write formatted string to stdout

writes a character to stdout

writes string to stdout

Deletes the specified file

renames or moves specified file

Read data form stdin

write formatted string to character string buffer

Write a formatted string to buffer

read data from string buffer

creates temporary file with auto-generated name