Files

Descripción

Bachelors (Files) C Programming Fichas sobre Files, creado por apupkevich95 el 30/04/2016.
apupkevich95
Fichas por apupkevich95, actualizado hace más de 1 año
apupkevich95
Creado por apupkevich95 hace casi 10 años
2
0

Resumen del Recurso

Pregunta Respuesta
"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
Mostrar resumen completo Ocultar resumen completo

Similar

Linked Lists WedW15
Madeline Harlow
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