class Car
{
  private:
    int model;
    void f();
  protected:
    unsigned int y;
    int horn(int x);
  public:
    static int count;
    int color;
    void getModel() const;
};
float Car::count = 0;
void Car::f(){
  ...
}
int Car::horn(int x){
  if(x < 10) cout<<'bip';
  else cout<<'BIIIIPP';
}
void Car::getModel() const {
  return this->model;
}
int main()
{
  Car car;
  car.horn(); // ok
  car.f(); // illegal
  cout<<car.model; //illegal
  cout<<car.getModel; // ok
}
هیچ پژوهش انسانی نمیتواند ادعای علمی بودن داشته باشد، مگر اینکه از برهان ریاضی برخوردار باشد (لئوناردو داوینچی)