Hi, I need to include into my program exception handling on my fuction/objects in my
program but am unsure on how to go about this, i looked on the information that has
been given on this site and still am no closer to solving the issue, please could
anybody explain this too me or if possible show me on sum coding that i have
placed below:
Code:
void ViewPublication::OnBnClickedButton6()
{
Node *viewPublication = mylist.end();
publisher.SetWindowTextW((*viewPublication).publication.Add_publisher);
isbn.SetWindowTextW((*viewPublication).publication.Isbn);
view_type.SetWindowTextW((*viewPublication).publication.Type);
title1.SetWindowTextW((*viewPublication).books.title1);
author.SetWindowTextW((*viewPublication).books.author);
title2.SetWindowTextW((*viewPublication).Title.title1);
editor.SetWindowTextW((*viewPublication).probooks.editor);
date.SetWindowTextW((*viewPublication).probooks.date);
}
or if this makes things easier:
Code:
Node* List::end()
{
Node *Navigator =_head;
while ((*Navigator).next !=NULL)
{
Navigator = (*Navigator).next;
_last=Navigator;
}
_current=_last;
return _last;
}
Thanks