|
|
coherent
puts() STDIO puts()
Write string onto standard output
#iinncclluuddee <ssttddiioo.hh>
vvooiidd ppuuttss(_s_t_r_i_n_g) cchhaarr *_s_t_r_i_n_g
puts appends a newline character to the string pointed to by
string, and writes the result onto the standard output.
***** Example *****
The following uses ppuuttss to write a string on the screen.
#include <stdio.h>
main()
{
puts("This is a string.");
}
***** See Also *****
fputs(), STDIO
***** Notes *****
For historical reasons, fputs outputs the string unchanged,
whereas puts appends a newline character.
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.