Quantcast
Channel: Bartek's coding blog
Viewing all articles
Browse latest Browse all 325

std:filesystem::file_size Advantages and Differences

$
0
0

Getting File Size in C++

Subtitle: Learning std::filesystem through file_size routines.

Last week I wrote a short post that explained how to use std::filesystem::file_size. Today I’d like to continue and show some significant differences that this new functionality has over the “older” techniques (like reading a file and getting its file position).

We’ll also learn something about permissions and how to manage them in std::filesystem.

Read more...

Viewing all articles
Browse latest Browse all 325

Trending Articles