spo/ass2/outputDevice.h

13 lines
242 B
C++

#include <fstream>
#include <cstdint>
#include "device.h"
class outputDevice : public Device {
private:
std::ostream& out;
public:
outputDevice(std::ostream& output);
void write(uint8_t value) override;
};