⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bcmain.cpp

📁 c#设计模式WithCla
💻 CPP
字号:
//This sample main program may be used to test C++ code generation scripts.
//In With Class load bc3car.omt for BC3.X compilers or bc4car.omt for BC4.X
//compilers.  Run the scripts bc3head.sct and bcfunc.sct for BC3.X compilers.
//Run the scripts bc4head.sct and bcfunc.sct for BC4.X compilers.
//Create a project in your C++ environment.  Add bcmain.cpp, vehicle.cpp, 
//car.cpp, motor.cpp, passengr.cpp, tire.cpp, and clllrphn.cpp.
//Comments and suggestions are solicited Richard Felsinger, RCF Associates
//960 Scottland Dr, Mt Pleasant, SC 29464 tele 803-881-3648 71162.755@compuserve.com

#include "car.h"

int main ()
{ 
  Car car1;
  car1.start();
  car1.operate();
  car1.stop();
  car1.addPassenger();
  car1.removePassenger();
  car1.makePhoneCall();
  car1.receivePhoneCall();
  car1.inflateTire();
  car1.checkPassengerSeatBelt();
  return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -