name=bname;
}
void Book::PrintBook(void) //used to print the variables of the book calss on the scre... tf(ios::left);
cout<<callno; //adjusted to be printed in 7 char space,and left side
cout.width(42);
cout<<bookname; //adjusted to be printed in 42 char space,and left side
cout<<... thor<<endl;
}
void Book::WriteFile(void)//used to store a Book object in to the file
{
ofstrea
(void);
int CheckType(void);//CheckType is used to check the item is operator or operand
};
Stack::S... ack::Push(int value,int type) //Stack method:Push to enter new items
{
if(top==MaxStackSize-1){ ... p++;
StackList[top]=value; // value is entered to Stacklist array
TypeList[top]=type; // type is entered to Typelist array
}
void Stack::ClearStack(void){
);
void PressKey()
{
cout<<endl<<"Press Any Key to return the Main Menu";
getch();
MainMenu();
}
... d from the file
for(i=0;i<100;i++) //used to find the first empty entry
{
if(strcmp((R... try
break;
case '7': cout<< "Do you want to save changes? (Y/N)";
char ch;
cin>>c... f ( !dbFileRd) //if not read
{
cout<<"Unable to open database file for reading";
}
for(int i=0;
r(void);
Node<T> *NextNode(void) const; //used to access *next
};
template <class T>
Node<T>::Node... class T>
void Node<T>::InsertAfter(Node<T> *p) //to add an item after the current node
{
p->next=nex... tNode(const T item, Node<T> *nextPtr =NULL)//used to allocate a new Node
{
Node<T> *newNode;
newNod... the list
}
void wait ( double seconds ) //used to obtain a delay
{
clock_t endwait;
endwait = c