puts
De 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. |
| Défini dans l'en-tête <stdio.h>
|
||
| int puts( char *str ); |
||
Écrit
str chaîne de caractères et un saut de ligne à 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.
Sommaire |
[modifier] Paramètres
| str | - | chaîne de caractères à écrire
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. |
[modifier] Retourne la valeur
non négatif certain nombre de succès, EOF autrement
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.
[modifier] Exemple
#include <stdio.h> int main(int argc, char** argv) { puts("Hello World"); return 0; }
Résultat :
Hello World
[modifier] Voir aussi
| écrit une chaîne de caractères dans un flux fichier 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. (fonction) | |
| impressions en forme de sortie de stdout, un flux de fichier ou d'un tampon 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. (fonction) | |
| C++ documentation for puts
| |