Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Курсовая по ООП / classes / commodity
.h#ifndef _commodity_h_
#define _commodity_h_
#include "stdlib.h"
class Commodity{
private:
char *title;
char *code;
char *supplier;
char *price;
char *count;
Commodity(Commodity &a) {};
public:
Commodity(void);
Commodity(char *t_, \
char *c_=NULL, \
char *s_=NULL, \
char *p_=NULL, \
char *z_=NULL);
~Commodity();
char *operator += (unsigned);
char *operator -= (unsigned);
char *operator -- (void);
char *operator ++ (void);
void setTitle(char *T=NULL);
void setCode(char *C=NULL);
void setSupplier(char *S=NULL);
void setPrice(char *P=NULL);
void setCount(char *Z);
char *getTitle(void) const;
char *getCode(void) const;
char *getSupplier(void) const;
char *getPrice(void) const;
char *getCount(void) const;
};
#endif
Соседние файлы в папке classes