Initial commit, zbrisal narobe ustvarjeno mapo, naredil prvi del simulatorja

This commit is contained in:
Timon 2025-11-22 14:09:29 +01:00
parent f8404698d2
commit 513cb421ec
12 changed files with 329 additions and 1 deletions

12
ass2/fileDevice.h Normal file
View file

@ -0,0 +1,12 @@
#include <string>
#include <fstream>
#include "device.h"
class fileDevice : public Device{
private:
std::fstream file;
public:
fileDevice(std::string& fileName);
uint8_t read() override;
void write(uint8_t val) override;
};