Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/c/puts"

From cppreference.com
< cpp‎ | io‎ | c
m (r2.7.3) (Robot: Adding de, es, it, pt, ru)
m (Shorten template names. Use {{lc}} where appropriate.)
Line 7: Line 7:
  
 
===Parameters===
 
===Parameters===
{{param list begin}}
+
{{par begin}}
{{param list item | str | character string to be written}}
+
{{par | str | character string to be written}}
{{param list end}}
+
{{par end}}
  
 
===Return value===
 
===Return value===
Non-negative number on success or {{c|EOF}} otherwise
+
Non-negative number on success or {{lc|EOF}} otherwise
  
 
===See also===
 
===See also===
{{dcl list begin}}
+
{{dsc begin}}
{{dcl list template | cpp/io/c/dcl list fputs}}
+
{{dsc inc | cpp/io/c/dcl list fputs}}
{{dcl list template | cpp/io/c/dcl list fprintf}}
+
{{dsc inc | cpp/io/c/dcl list fprintf}}
{{dcl list see c | c/io/puts}}
+
{{dsc see c | c/io/puts}}
{{dcl list end}}
+
{{dsc end}}
  
 
[[de:cpp/io/c/puts]]
 
[[de:cpp/io/c/puts]]

Revision as of 18:54, 31 May 2013

 
 
 
C-style I/O
Types and objects
Functions
File access
Direct input/output
Unformatted input/output
Formatted input
(C++11)(C++11)(C++11)    
(C++11)(C++11)(C++11)    
 
Defined in header <cstdio>
int puts( char *str );

Writes character string str and a newline to stdout

Parameters

str - character string to be written

Return value

Non-negative number on success or EOF otherwise

See also

Template:cpp/io/c/dcl list fputsTemplate:cpp/io/c/dcl list fprintf