// file: part.h
// The header file for the part class.

#ifndef Part_H_
#define Part_H_
#include<fstream>
using namespace std;

class Part {
   private:
      char* name; 
      int id;
      int quantity;
      float cost;
   public:
      Part();
      Part( int i,int q, float c );
      int GetQuantity() const;
      float GetCost() const;
      void ChangeQuantity( int q );
      void ChangeCost( float c );
      friend ostream& operator << ( ostream&, const Part&);
      friend istream& operator >> ( istream&, Part& );
      bool operator > (const Part& y) const;

      // what other 3 functions are needed here?
};

#endif
