W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
#include
using namespace std; class Car { public: int speed(int maxSpeed); }; int Car::speed(int maxSpeed) { return maxSpeed; } int main() { Car myObj; cout << myObj.speed(200); return 0; }