Popravil fileDevice.cpp tako da dejansko naredi datoteke, če še ne obstajajo
This commit is contained in:
parent
8222f8dd0a
commit
74cc571eef
270 changed files with 104 additions and 74 deletions
|
|
@ -1,12 +0,0 @@
|
|||
#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