Beispiel #1
0
inline void XmlNode::appendContents(std::ostream& ss) const
{
    appendHead(ss);
    appendValue(ss);
    appendChildren(ss);
    appendTail(ss);
}
int main()
{
struct node * head=NULL;

printf("hello main");



head=pushele(5,head);
head=pushele(15,head);
head=appendHead(10,head);
head=deleteNode(2,head);
printList(head);
return 0;

}