Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
83
Добавлен:
10.12.2013
Размер:
959 б
Скачать
#ifndef CLASS
#define CLASS
#include <iostream>
#include <deque>
#include <fstream>
#include <string>
//-----------------------------------------------------------------------
using namespace std;
//-----------------------------------------------------------------------
class BIBL
{
	string autor;
	string name;
	float price;
public:
	BIBL ();
	BIBL (string,string,float);
	BIBL (const BIBL&);
	void Input();
	void Show();
	friend istream& operator>>(istream&,BIBL&);
	friend ostream& operator<<(ostream&,BIBL&);
	BIBL& operator = (const BIBL&);
};
//-----------------------------------------------------------------------
typedef deque<BIBL> db;
typedef deque<BIBL>::iterator iter;
string Rus(string);
void Print1(string,db);
void Print2(string,db);
void AddOfFile(ifstream&,db&);
void Delete(db& ,iter,int);
void Change(db&,iter,int,db&);
//-----------------------------------------------------------------------
#endif 
Соседние файлы в папке Prog2