اهلين يا شباب
سوي هذا الكود وابي الاغلاط الي فيه اذا ممكن مساعده يعني
ومنكم متعلم
#ifndef CATALOG_H
#define CATALOG_H
#include <string>
using namespace std;
struct booktype {
long catalognumber;
string auther;
string title;
bool checkedout;
};
class catalogtype {
public:
catalogtype(string);
void displaybook(long);
void checkin(long);
void checkout(long);
private:
int numbooks;
booktype bookarray[MaxBook];
int findindex (long);
};
#endif