std::fopen
Da 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. |
Definido no cabeçalho <cstdio>
|
||
FILE *fopen( const char *filename, const char *mode ); |
||
Abre um arquivo indicado por
filename
e retorna um fluxo de arquivo associado a esse arquivo. mode
é usado para determinar o modo de acesso a arquivos. Original:
Opens a file indicated by
filename
and returns a file stream associated with that file. mode
is used to determine the file access mode. 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.
[editar] Parâmetros
filename | - | Nome do arquivo para associar o fluxo de arquivo
Original: file name to associate the file stream to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mode | - | terminada em nulo cadeia de caracteres que determina o modo de acesso ao arquivo
Original: null-terminated character string determining file access mode
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
Inaugurado fluxo de arquivo em caso de sucesso, NULL em caso de falha
Original:
Opened file stream on success, NULL on failure
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.
[editar] Veja também
fecha um arquivo Original: closes a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
sincroniza um fluxo de saída com o arquivo real Original: synchronizes an output stream with the actual file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
abrir um córrego existente com um nome diferente Original: open an existing stream with a different name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Documentação C para fopen
|