Esempio n. 1
0
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);
}
Esempio n. 2
0
void StatementASTNode::Print(std::ostream &out, int indentAmmount) const{
    indent(out,indentAmmount);
    PrintContent(out,indentAmmount);
    out << ";" << std::endl;
}