fread
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <stdio.h>
|
||
size_t fread( void *buffer, size_t size, size_t count, FILE *stream ); |
||
Legge il numero specificato di oggetti nella matrice
buffer dal stream dato input stream. Gli oggetti non sono interpretati in alcun modo. Original:
Reads specified number of objects in the array
buffer from the given input stream stream. Objects are not interpreted in any way. 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.
Parametri
| buffer | - | puntatore all'oggetto primo oggetto nella matrice da leggere
Original: pointer to the first object object in the array to be read The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| size | - | dimensione di ogni oggetto in byte
Original: size of each object in bytes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| count | - | il numero degli oggetti da leggere
Original: the number of the objects to be read The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valore di ritorno
numero di oggetti letti correttamente
Original:
number of objects read successfully
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.
Vedi anche
legge l'input formattato da stdin, un flusso di file o di un buffer Original: reads formatted input from stdin, 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. (funzione) | |
ottiene una stringa di caratteri da un flusso di file Original: gets a character string from 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. (funzione) | |
scrive su un file Original: writes to a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
C++ documentation for fread
| |