File input/output - cppreference.com
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/>
L'intestazione <stdio.h> fornisce supporto generico operazione sul file e le funzioni di forniture con l'input di caratteri ristretto / funzioni di output.
Original:
The <stdio.h> header provides generic file operation support and supplies functions with narrow character input/output capabilities.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
L'intestazione <wchar.h> fornisce funzioni con input di caratteri estesi / funzioni di output.
Original:
The <wchar.h> header supplies functions with wide character input/output capabilities.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funzioni
Accesso ai file Original: File access The text has been machine-translated via Google Translate. | |
apre un file Original: opens a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
aprire uno stream esistente con un nome diverso Original: open an existing stream with a different name The text has been machine-translated via Google Translate. (funzione) [modifica] | |
chiude un file Original: closes a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
sincronizza un flusso di output con il file vero e proprio Original: synchronizes an output stream with the actual file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
passa un flusso di file tra caratteri larghi di I / O e il carattere stretto di I / O Original: switches a file stream between wide character I/O and narrow character I/O The text has been machine-translated via Google Translate. (funzione) [modifica] | |
imposta il buffer per un flusso di file Original: sets the buffer for a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
imposta il buffer e la dimensione di un flusso di file Original: sets the buffer and its size for a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Diretta input / output Original: Direct input/output The text has been machine-translated via Google Translate. | |
legge da un file Original: reads from a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
scrive su un file Original: writes to a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Ingresso formattato / uscita Original: Unformatted input/output The text has been machine-translated via Google Translate. | |
Carattere stretta Original: Narrow character The text has been machine-translated via Google Translate. | |
ottiene un carattere da un flusso di file Original: gets a character from a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
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. (funzione) [modifica] | |
scrive un carattere a un flusso di file Original: writes a character to a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Scrive una stringa di caratteri in un flusso di file Original: writes a character string to a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
legge un carattere da stdin Original: reads a character from stdin The text has been machine-translated via Google Translate. (funzione) [modifica] | |
legge una stringa di caratteri da Original: reads a character string from The text has been machine-translated via Google Translate. (funzione) [modifica] | |
scrive un carattere Original: writes a character to The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Scrive una stringa di caratteri stdout Original: writes a character string to stdout The text has been machine-translated via Google Translate. (funzione) [modifica] | |
mette un personaggio nuovo in un flusso di file Original: puts a character back into a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Carattere esteso Original: Wide character The text has been machine-translated via Google Translate. | |
ottiene un carattere esteso da un flusso di file Original: gets a wide character from a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Ottiene una stringa da un ampio flusso di file Original: gets a wide string from a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
scrive un carattere esteso a un flusso di file Original: writes a wide character to a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
scrive una stringa bersaglio un flusso di file Original: writes a wide string to a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
legge un carattere esteso da Original: reads a wide character from The text has been machine-translated via Google Translate. (funzione) [modifica] | |
scrive un carattere completamente fuori bersaglio stdout Original: writes a wide character to stdout The text has been machine-translated via Google Translate. (funzione) [modifica] | |
mette un carattere esteso di nuovo in un flusso di file Original: puts a wide character back into a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Formattato di input / output Original: Formatted input/output The text has been machine-translated via Google Translate. | |
Carattere stretta Original: Narrow character The text has been machine-translated via Google Translate. | |
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. (funzione) [modifica] | |
(C99) |
legge l'input formattato da stdin, un flusso di file o un buffer Original: reads formatted input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. (funzione) [modifica] |
stampe formattata uscita stdout, un flusso di file o di un buffer Original: prints formatted output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. (funzione) [modifica] | |
stampe formattata uscita stdout, un flusso di file o un buffer Original: prints formatted output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Carattere esteso Original: Wide character The text has been machine-translated via Google Translate. | |
legge formattato ingresso ampio personaggio di stdin, un flusso di file o di un buffer Original: reads formatted wide character input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. (funzione) [modifica] | |
(C99) |
legge formattato ingresso ampio personaggio di stdin, stream Original: reads formatted wide character input from stdin, a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] |
stampe formattata uscita ampio carattere stdout, un flusso di file o di un buffer Original: prints formatted wide character output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. (funzione) [modifica] | |
stampe formattata uscita ampio carattere stdout, stream Original: prints formatted wide character output to stdout, a file stream The text has been machine-translated via Google Translate. (funzione) [modifica] | |
File di posizionamento Original: File positioning The text has been machine-translated via Google Translate. | |
restituisce l'attuale indicatore di posizione del file Original: returns the current file position indicator The text has been machine-translated via Google Translate. (funzione) [modifica] | |
ottiene l'indicatore di posizione del file Original: gets the file position indicator The text has been machine-translated via Google Translate. (funzione) [modifica] | |
si sposta l'indicatore di posizione file in una posizione specifica in un file Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
si sposta l'indicatore di posizione file in una posizione specifica in un file Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
sposta l'indicatore di posizione file all'inizio in un file Original: moves the file position indicator to the beginning in a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
La gestione degli errori Original: Error handling The text has been machine-translated via Google Translate. | |
cancella errori Original: clears errors The text has been machine-translated via Google Translate. (funzione) [modifica] | |
controlli per la fine del file Original: checks for the end-of-file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
assegni per un errore di file Original: checks for a file error The text has been machine-translated via Google Translate. (funzione) [modifica] | |
visualizza una stringa di caratteri del corrispondente errore di corrente stderr Original: displays a character string corresponding of the current error to stderr The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Le operazioni sui file Original: Operations on files The text has been machine-translated via Google Translate. | |
cancella un file Original: erases a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
rinomina un file Original: renames a file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
restituisce un puntatore a un file temporaneo Original: returns a pointer to a temporary file The text has been machine-translated via Google Translate. (funzione) [modifica] | |
restituisce un nome file univoco Original: returns a unique filename The text has been machine-translated via Google Translate. (funzione) [modifica] | |
Tipi
Definizione nell'header | |
Tipo Original: Type The text has been machine-translated via Google Translate. |
Definition |
FILE
|
tipo, in grado di contenere tutte le informazioni necessarie alla guida di un CI / O stream Original: type, capable of holding all information needed to control a C I/O stream The text has been machine-translated via Google Translate. |
fpos_t
|
tipo, in grado di specificare univocamente una posizione in un file Original: type, capable of uniquely specifying a position in a file The text has been machine-translated via Google Translate. |
Macro
Definizione nell'header | |
stdin |
espressione di tipo * FILE associato stream Original: expression of type FILE* associated with the input stream The text has been machine-translated via Google Translate. (macro costante) |
EOF |
intera espressione costante di Original: integer constant expression of type The text has been machine-translated via Google Translate. (macro costante) |
FOPEN_MAX |
numero di file che possono essere aperti contemporaneamente Original: number of files that can be open simultaneously The text has been machine-translated via Google Translate. (macro costante) |
FILENAME_MAX |
dimensione necessaria per un array di char per contenere il nome più lungo di file supportato Original: size needed for an array of char to hold the longest supported file name The text has been machine-translated via Google Translate. (macro costante) |
BUFSIZ |
dimensione del buffer utilizzato da setbuf () Original: size of the buffer used by setbuf() The text has been machine-translated via Google Translate. (macro costante) |
_IOFBF |
argomento di setvbuf () che indica con buffer I / O Original: argument to setvbuf() indicating fully buffered I/O The text has been machine-translated via Google Translate. (macro costante) |
SEEK_SET |
argomento di fseek () che indica in cerca dall'inizio della file Original: argument to fseek() indicating seeking from beginning of the file The text has been machine-translated via Google Translate. (macro costante) |
TMP_MAX |
numero massimo di nomi di file unici che possono essere generati da tmpnam () Original: maximum number of unique filenames that can be generated by tmpnam() The text has been machine-translated via Google Translate. (macro costante) |
L_tmpnam |
dimensione necessaria per un array di char per memorizzare il risultato di tmpnam () Original: size needed for an array of char to hold the result of tmpnam() The text has been machine-translated via Google Translate. (macro costante) |