Jump to content

C++ Programming/Code/Standard C Library/Functions/puts

From Wikibooks, open books for an open world
Syntax
#include <cstdio>
int puts( char *str );

The function puts() writes str to stdout. puts() returns non-negative on success, or EOF on failure.

Related topics
fputs - gets - printf - putc