Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 11-Practice-10.05.2022 / Engine.h
blob: fd188f9f9fcb28fc93f3a4921bc89a8dec5fa8f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "CarPart.h"
#include <istream>
#include <ostream>

class Engine : CarPart {
	unsigned short horsepower;

public:
	Engine();
	Engine(unsigned short horsepower);
};

std::ostream& operator<<(std::ostream& ostr, const Battery& bat);