|
|
1.1 ! root 1: ! 2: ! 3: puts() STDIO puts() ! 4: ! 5: ! 6: ! 7: ! 8: Write string onto standard output ! 9: ! 10: #iinncclluuddee <ssttddiioo.hh> ! 11: vvooiidd ppuuttss(_s_t_r_i_n_g) cchhaarr *_s_t_r_i_n_g ! 12: ! 13: puts appends a newline character to the string pointed to by ! 14: string, and writes the result onto the standard output. ! 15: ! 16: ***** Example ***** ! 17: ! 18: The following uses ppuuttss to write a string on the screen. ! 19: ! 20: ! 21: #include <stdio.h> ! 22: ! 23: main() ! 24: { ! 25: puts("This is a string."); ! 26: } ! 27: ! 28: ! 29: ***** See Also ***** ! 30: ! 31: fputs(), STDIO ! 32: ! 33: ***** Notes ***** ! 34: ! 35: For historical reasons, fputs outputs the string unchanged, ! 36: whereas puts appends a newline character. ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.