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

class CarPart {
	unsigned id;
	String manufacturer;
	String description;

public:
	CarPart();
	CarPart(unsigned id, String manufacturer, String description);
};

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