updated c++, compiles but isn't finished