Refactored #7 out into class files like I should have to begin with.

This commit is contained in:
2022-12-08 23:17:56 -05:00
parent 7ef32aafcb
commit 2139a01252
7 changed files with 155 additions and 106 deletions

19
2022/7/File.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef ADVENT_DVEREB_FILE_H
#define ADVENT_DVEREB_FILE_H
#include <string>
class File {
public:
File(const std::string &set_filename, unsigned long set_size);
virtual ~File();
const std::string& Filename() const;
virtual unsigned long Size() const;
protected:
unsigned long size;
std::string filename;
};
#endif