Stanford 106B C++