virtual void print() const { std::cout ... void someFriendFunction(const Car& car) { std::cout << "Friend Function: " << car.m_model << " is a great car!
確定! 回上一頁