void PrintBookData(BOOK *pBook) { printf("\tISBN Code: %s\n",pBook ->b_Isbncode); printf("\tTitle: %s\n",pBook->b_Title); printf("\tPublisher: %s\n",pBook ->b_Publisher); printf("\tPrice: %d\n",pBook ->b_Price); printf("\tLIST OF AUTHOR\n"); PrintAuthor(&pBook->AuthorList); printf("\tCONTENT LIST\n"); PrintContent(&pBook->ContentList); }
void StatementASTNode::Print(std::ostream &out, int indentAmmount) const{ indent(out,indentAmmount); PrintContent(out,indentAmmount); out << ";" << std::endl; }