the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 11 lines 338 B view raw
1#pragma once 2 3class Reader 4{ 5public: 6 virtual ~Reader() {} 7 8 virtual void close() = 0; //Closes the stream and releases any system resources associated with it. 9 virtual int read() = 0; //Reads a single character. 10 virtual int read(wchar_t cbuf[], unsigned int off, unsigned int len) = 0; //Reads characters into a portion of an array. 11};