but if i include the cpp files, it compiles and works. On the other hand, as i googled around for the reason the only thing i could find was to never include a cpp file as it compiles twice. So what would cause the header files to cause compiles errors and not cpp files? And what might i do to fix it?