From a6fb61db10a93801065d34d19fb6d7166511e58d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 31 Mar 2022 09:37:42 +0300 Subject: Made naming and slight formatting adjustments --- .../Solutions Sem. 03/ex4/File.h | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 Year 1/Object-oriented Programming/Solutions Sem. 03/ex4/File.h (limited to 'Year 1/Object-oriented Programming/Solutions Sem. 03/ex4/File.h') diff --git a/Year 1/Object-oriented Programming/Solutions Sem. 03/ex4/File.h b/Year 1/Object-oriented Programming/Solutions Sem. 03/ex4/File.h deleted file mode 100644 index 753e734..0000000 --- a/Year 1/Object-oriented Programming/Solutions Sem. 03/ex4/File.h +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include -#include -#include "Bytex.h" - -class File { - Bytex* fileBuffer; - size_t count; - size_t length; - - char* originalFilePath; // There are no actual restrictions on path lengths in Linux - - char bytexToReadableChar(Bytex bytex) const; - - void resizeBuffer(); - -public: - File(const char* filePath); - ~File(); - - void viewFile() const; - void change(int index, Bytex bytex); - void add(Bytex bytex); - void remove(); - void save() const; - void saveAs(const char* filePath) const; -}; -- cgit v1.3.1-26-gb76a