TDT4102-Ovinger/Oving8/Oving 8/Car.h

14 lines
167 B
C++

#pragma once
class Car
{
unsigned int freeSeats;
public:
Car(unsigned int freeSeats);
bool hasFreeSeats() const;
void reserveFreeSeat();
virtual ~Car() {};
};