C++ File operations not working as expected

Yeah well it seems every time I modify a C++ file I have to completely reload the project, this sucks for debugging but oh well. it works now!