C++ linking working!