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

From Wikibooks, open books for an open world
Jump to: navigation, search

puts[edit]

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