Files

Descrição

Bachelors C Programming (Files) FlashCards sobre Files, criado por apupkevich95 em 30-04-2016.
apupkevich95
FlashCards por apupkevich95, atualizado more than 1 year ago
apupkevich95
Criado por apupkevich95 aproximadamente 9 anos atrás
2
0

Resumo de Recurso

Questão Responda
"r" opens an existing file for reading only
"w" creates and opens a new file for writing
"a" opens an existing file for writing
"r+" opens an existing file for reading and writing
"w+" creates a new file for reading and writing
"a+" opens and existing file for writing and allows reading
FILE special type that establishes the buffer
ptvar pointer that points to the beginning of the buffer
buffer amount of memory space allocated inside the computer memory
Stream files character files non-formatted files
fopen() associates a buffer to a data file
fclose() closes a file by terminating the buffer
fputc() writes a character into a file fputc ( 'b' , ptvar );
fgetc() reads a character from a file c = fgetc (ptvar);
fputs() writes a string into a file fputs(name , ptvar);
fgets() reads a string from a file fgets(name, max_size_name, ptvar);
fprintf() writes into a file according to format specifiers
fscanf() reads from a file according to format specifiers
fread() reads a data block from a non-formatted file
fwrite() writes a data block into a non-formatted file
feof() returns "true" if EOF character is read
ferror() returns "true" if an error occurs
fseek() searches for a specific byte in the buffer

Semelhante

Programming in C MindMap
Tejas Rao
Software
13jake.cooper
Online Documents.
RyanG
the genius files
nicholas.baraks
Social networking and E-Safety
Anya Revindharan
File management
Tiya Patel
Basic Python - Tuples and Files
Rebecca Noel
MIND MAP 1
vsolakis
Linked Lists WedW15
Kunall Banerjee
Linked Lists WedW15
Neyavanan v