the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 11 lines 254 B view raw
1#include "stdafx.h" 2#include "File.h" 3#include "InputOutputStream.h" 4#include "InputStream.h" 5 6InputStream *InputStream::getResourceAsStream(const wstring &fileName) 7{ 8 File file( fileName ); 9 10 return file.exists() ? new FileInputStream( file ) : NULL; 11}