puts
Da cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <stdio.h>
|
||
| int puts( char *str ); |
||
Escreve
str cadeia de caracteres e uma nova linha de stdoutOriginal:
Writes character string
str and a newline to stdoutThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
| str | - | cadeia de caracteres a ser escrito
Original: character string to be written The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
não negativo número no sucesso ou EOF contrário
Original:
non-negative number on success or EOF otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
#include <stdio.h> int main(int argc, char** argv) { puts("Hello World"); return 0; }
Output:
Hello World
[editar] Veja também
| escreve uma seqüência de caracteres para um fluxo de arquivo Original: writes a character string to a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
| impressões saída formatada para stdout, um fluxo de arquivo ou um tampão Original: prints formatted output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
| C++ documentation for puts
| |