std::
putchar
From cppreference.com
<
cpp
|
io
|
c
C++
Language
Standard library headers
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Input/output library
I/O manipulators
C-style I/O
Buffers
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf
(deprecated)
Streams
Abstractions
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
File I/O
basic_ifstream
basic_ofstream
basic_fstream
String I/O
basic_istringstream
basic_ostringstream
basic_stringstream
Array I/O
istrstream
(deprecated)
ostrstream
(deprecated)
strstream
(deprecated)
Types
streamoff
streamsize
fpos
Error category interface
iostream_category
(C++11)
io_errc
(C++11)
C-style I/O
Functions
File access
fopen
freopen
fclose
fflush
fwide
setbuf
setvbuf
Direct input/output
fread
fwrite
Unformatted input/output
fgetc
fgets
fputc
fputs
getchar
gets
putchar
puts
ungetc
fgetwc
fgetws
fputwc
fputws
getwchar
putwchar
ungetwc
Formatted input/output
scanf
fscanf
sscanf
vscanf
vfscanf
vsscanf
(C++11)
(C++11)
(C++11)
printf
fprintf
sprintf
snprintf
(C++11)
vprintf
vfprintf
vsprintf
vsnprintf
(C++11)
wscanf
fwscanf
swscanf
vwscanf
vfwscanf
vswscanf
(C++11)
(C++11)
(C++11)
wprintf
fwprintf
swprintf
vwprintf
vfwprintf
vswprintf
File positioning
ftell
fgetpos
fseek
fsetpos
rewind
Error handling
clearerr
feof
ferror
perror
Operations on files
remove
rename
tmpfile
tmpnam
Defined in header
<cstdio>
int
putchar
(
int
ch
)
;
Writes a character
ch
to
stdout
[
edit
]
Parameters
ch
-
character to be written
[
edit
]
Return value
ch
on success,
EOF
on failure.
[
edit
]
See also
fputc
putc
writes a character to a file stream
(function)