No video

File IO 📁 in C: Open, modify and close files - C Programming Course STEP by STEP (27)

Today we talk about how to work with files in the C programming language, what we know as File IO or file input - output. We detail how to open, read, modify and close files in C through functions like fopen, fputs, fputc, fwrite and fclose.
This leads us to detail concepts such as end of line (EOF) and to deepen in C functions such as exit and fprintf.
We will also talk about standard streams or input and output streams, explaining what standard input, standard output and standard error mean and what they are useful for.
Contents:
00:03 - Pointer to file
01:17 - Open a file in C: fopen
02:58 - What are standard streams: stdin, stdout and stderr
04:33 - Exit function in C
05:15 - fgetc and fgets functions
09:01 - How to close a file in C: fclose
11:41 - How to use standard error or stderr
14:02 - How to modify a file in C
15:13 - fputc and fputs functions
16:28 - Function fprintf and its difference with fputs
18:34 - fwrite function
21:19 - Difference between fopen and open (system call functions)
Watch all the videos of the C course: • Aprende a programar 📙 ...
See the C course repository: github.com/dfb...
Facebook: goo.gl/HDLFyn
Twitter: goo.gl/pcFziM
#LearnProgramming #CourseOfC

Пікірлер: 1

  • @juandiegogarcia9970
    @juandiegogarcia9970 Жыл бұрын

    muy buen video la verdad que es muy explicativo