Course info
Oct 14, 2020
1h 3m

At some stage in your career, you may have to deal with legacy C applications that run against your existing files. In this course, Working with Files in C, you’ll learn how to perform file I/O. First, you’ll explore how to open and read a file. Next, you’ll discover how to create and write to a file. Finally, you’ll learn about file security levels and authorization. When you’re finished with this course, you’ll have the skills and knowledge of file I/O needed to work with files in the C programming language.

Course FAQ
Course FAQ
What are the prerequisites for this course?

Before beginning the course, you should be familiar with running and debugging C applications in Visual Studio Code.

Why should I learn C programming?

Being a middle-level language, C reduces the gap between the low-level and high-level languages. It can be used for writing operating systems as well as doing application level programming.

How long does it take to learn c programming language?

It's difficult to know how long in terms of elapsed time it will take to get a good working knowledge. With intensive training the language can be learned in about 4.5 days. If you are training for an hour or so each day it should take about a month to learn.

Why is C programming called C?

C is a general purpose computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. It was named 'C' because many of its features were derived from an earlier language called 'B'.

What are files and why are they needed in C programming?

A file is a container in computer storage devices used for storing data. When a program is terminated, the entire data is lost. Storing in a file will preserve your data even if the program terminates. If you have to enter a large number of data, it will take a lot of time to enter them all. However, if you have a file containing all the data, you can easily access the contents of the file using a few commands in C.

About the author
About the author

Alexandru is a software developer who loves giving back to the community and mentoring others.

More from the author
.NET Regular Expressions
1h 15m
Feb 13, 2020
Unit Testing for Game Development in Unity
1h 46m
Jan 24, 2019
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Alexandru Dima, and welcome to my course on Working with Files in C. Here's a little background about me. I am a professional consultant with Nocturis, and I've been working in the industry developing software now for well over a decade. I've worked on everything from cross‑platform video games, business and security applications or software, and even designed, manufactured, and programmed embedded systems and printed circuit boards. During your software engineering career, you might have to deal with legacy C applications that run against existing files. In this course, we are going to teach you the skills you need to build a file I/O foundation in C so that you can build or maintain applications that interface with files. Some of the major topics that we will cover include file I/O functions, opening and reading files, creating and writing files, and additional file operations. By the end of this course, you'll know how to work with files in the C language. Before beginning the course, you should be familiar with running and debugging C applications in Visual Studio Code. I hope you'll join me on this journey to learn how you can work with files in the Working with Files in C course, at Pluralsight.