std::wscanf, std::fwscanf, std::swscanf
Aus 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. |
definiert in Header <cwchar>
|
||
int wscanf( const wchar_t* format, ... ); |
(1) | (seit C++11) |
int fwscanf( FILE *stream, const wchar_t* format, ... ); |
(2) | (seit C++11) |
int swscanf( const wchar_t* buffer, const wchar_t* format, ... ); |
(3) | (seit C++11) |
Liest Daten aus dem einer Vielzahl von Quellen, interpretiert ihn entsprechend
format
und speichert die Ergebnisse in bestimmten Orten .Original:
Reads data from the a variety of sources, interprets it according to
format
and stores the results into given locations.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.
1)
Liest die Daten aus stdin .
Original:
Reads the data from stdin.
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.
2)
Liest die Daten aus der Datei-Stream
stream
.Original:
Reads the data from file stream
stream
.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.
3)
Liest die Daten aus nullterminierten Widestringfelder
buffer
.Original:
Reads the data from null-terminated wide string
buffer
.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.
Inhaltsverzeichnis |
[Bearbeiten] Parameter
stream | - | Eingabedatei Stream zu lesen
Original: input file stream to read from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
buffer | - | Zeiger auf einen null-terminierten breite String zu lesen
Original: pointer to a null-terminated wide string to read from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
format | - | Zeiger auf einen null-terminierten große Zeichenfolge, die, wie die Eingabe zu lesen.
Original: pointer to a null-terminated wide string specifying how to read the input.
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
... | - | Empfangen Argumente
Original: receiving arguments The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Rückgabewert
Anzahl von Argumenten erfolgreich gelesen oder EOF, wenn der Ausfall vor der ersten Aufnahme Argument wurde zugeordnet auftritt .
Original:
Number of arguments successfully read, or EOF if failure occurs before the first receiving argument was assigned.
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.
[Bearbeiten] Beispiel
This section is incomplete Reason: no example |
[Bearbeiten] Siehe auch
(C++11) (C++11) (C++11) |
liest formatierte breite Zeicheneingabe von stdin eine Datei stream oder einen Puffer mit variabler Argumentliste Original: reads formatted wide character input from stdin, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
C documentation for wscanf, fwscanf, swscanf
|