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
12
ass2/headers/device.h
Normal file
12
ass2/headers/device.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
class Device {
|
||||
public:
|
||||
virtual ~Device() = default;
|
||||
virtual void write(uint8_t val);
|
||||
virtual uint8_t read();
|
||||
virtual bool test();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue