C++ Bugs && Analysis