All pastes #983593 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-04-13 14:05 UTC
rendered paste body
#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