Initial commit, zbrisal narobe ustvarjeno mapo, naredil prvi del simulatorja
This commit is contained in:
parent
f8404698d2
commit
513cb421ec
12 changed files with 329 additions and 1 deletions
12
ass2/fileDevice.h
Normal file
12
ass2/fileDevice.h
Normal 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue