Hi im a beginner programmer and i came across this structure and constructor for a book keeping program that i dont understand, could someone plz explain it
class Book
{
public:
string Title;
string Author;
string Publisher;
int ISBN;
string Editor;
float Cost;
Part* next;
Part(string, string, string, int, string, float, Book*);
~Book();
private:
};
Book::Book(string tempTitle, string tempAuthor, string tempPublisher, int tempISBN, string tempEditor, float tempCost, Part* tempNext):Title(tempTitle), Author(tempAuthor), Publisher(tempPublisher), ISBN(tempISBN), Editor(tempEditor), Cost(tempCost), next(tempNext){}
Book::~Book(){}
typedef Book* BookPtr;