Anonymous
public text v1 · immutable#include <iostream>
using namespace std;
#include <list>
#ifndef CAR_CLASS_H
#define CAR_CLASS_H
struct cars {
string brand;
string model;
float engine;
int max_speed;
float pow;
};
class car {
public:
car();
void init();
void write2file();
void readfromfile();
void sort();
void find();
void remove();
void add();
private:
list <struct cars> L;
#endif