puts
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>| definiert in Header <stdio.h>
|
||
int puts( char *str ); |
||
Schreibt Zeichenkette
str und eine Leerzeile an 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.
Parameter
| str | - | Zeichenkette geschrieben werden soll
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. |
Rückgabewert
nicht-negative Zahl bei Erfolg EOF anders
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.
Beispiel
#include <stdio.h>
int main(int argc, char** argv)
{
puts("Hello World");
return 0;
}
Output:
Hello World
