Selecting a country shows the courses available in your region.
⏱ 2h 54m📚 29 lessons🎧 Audio version
C++ Filesystem: Handling Paths, Directories, and File Operations
Learn to manage file paths, iterate through directories, and perform robust file system operations using the modern C++ standard library.
💬AI instructor Ask about any lesson and get a clear answer instantly, anytime.
🕐Start anytime No schedules or deadlines — learn at your own pace, whenever suits you.
🌐In English Lessons, tasks and certificate — all fully in your language.
About this course
File system interaction is a core requirement for almost any modern application, from reading configuration files to managing large datasets. This course provides the foundational knowledge to manage files and directories using standard C++.
By the end of this course, you will be proficient in using the C++ standard library's filesystem components to handle paths, check file properties, and execute reliable file manipulation tasks in your programs.
What you'll learn:
* Understand the fundamental concepts of paths, file status, and directory structure within the C++ standard library.
* Master path construction, normalization, decomposition, and manipulation using the `std::path` class.
* Practice iterating over directory contents and performing recursive traversal for complex operations.
* Apply standard functions for copying, moving, renaming, and removing files and directories safely.
* Configure and retrieve file metadata, including size, permissions, and timestamps.
* Implement robust error handling for filesystem operations using `std::error_code`.
The course begins by defining key terminology and exploring the structure of the `std::path` class before moving into practical examples of directory iteration and file manipulation. We conclude with best practices for handling errors in production code. This course is designed for beginner C++ programmers who want to learn how to integrate file system interaction into their projects. No prior experience with file I/O or system calls is required, just basic knowledge of C++ syntax. Start building C++ applications that effectively interact with the underlying operating system today.
Course contents
What you'll get
📜Certificate of completion Add it to your LinkedIn profile
💬Personal AI tutor Stuck on a lesson? Ask your built-in tutor anything, any time.
🎧Audio version included Learn on the go — no screen needed
♾️Lifetime access Come back anytime, no expiry
📱Phone or computer Works anywhere, any device
💸14-day refund No questions asked
⚡Short & focused 2h 54m of practical content
Certificate of completion
Every course you complete on PickAClass issues a credential like this — original, with its own code, verifiable by URL, and detailed about what was actually demonstrated.
P
PickAClass
Skills profile · verifiable
Document
Certificate of Mastery
This certifies that
Name Surname
has successfully demonstrated mastery of
C++ Filesystem: Handling Paths, Directories, and File Operations
Skills demonstrated
✓
Behavioral pattern analysis
Foundational
1.2 hrs
✓
Decision-architecture frameworks
Proficient
1.4 hrs
✓
A/B test design
Proficient
1.7 hrs
✓
Behavioral copywriting
Advanced
1.9 hrs
P
PickAClass — Name Surname
C++ Filesystem: Handling Paths, Directories, and File Operations