Source file:
pastebin.com/M0U150ge and header:
pastebin.com/AkN8eiSc. Unfortunately the file and header are part of a larger project with more files, so I'm not sure if you'll be able to do anything with those links. I'd write something, but again, very little c++ knowledge