As I am sipping a cup of coffee and writing this blog post on a Saturday afternoon, I keep thinking about how fast time has passed. I joined DreamInCode on May 16th, 2009, just a few months before going to college. Today, it's May 13th 2017 and these numbers make me realize how much time has passed (not to mention, make feel a bit...
Recently I got curious to explore the methods that are available to find out a file's size in C++. The first (easiest?) method that I had learned a long time ago is using
tellg(). Let's see an example:
...