Добавил:
bagiwow
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Программирование / си++ / 2Semestr / Lab_7 / Bibl
.h//Bibl.h
#ifndef CLASS
#define CLASS
//-----------------------------------------------------------------------
#include<iostream.h>
#include<fstream.h>
#include<afx.h>
//-----------------------------------------------------------------------
class BIBL
{
char name[30];
char autor[30];
float price;
public:
BIBL ();
BIBL (char*,char*,float);
BIBL (const BIBL&);
~BIBL ();
char* GetName();
void Input();
void Show();
friend istream& operator>>(istream&,BIBL&);
friend ostream& operator<<(ostream&,BIBL&);
};
//-----------------------------------------------------------------------
#endif