1,/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 2,,,,,,,在File 名称:digui_test.c 3,,,,,,,在作者:xiaoxiaohui 4,,,,,,,在邮件:1924224891 @qq.com 5,,,,,,,祝辞,Created 时间:2016年05月19日,星期四,20时48分02秒 6才能,* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */7,才能 8,才能# include9,才能 ,10 void 打印(ListNode *, phead) ,11 { ,12,,,,ListNode *, tem =, phead; ,13,,,,如果(tem ==, NULL) ,14日,,,,{ ,15,,,,,,,,返回; ,16岁,,,,} ,17岁,,,, ,18岁,,,,{ ,19岁,,,,,,,,印刷(tem→m_pNext); ,20,,,,,,,,printf (" % d , ", tem→m_nKey); ,21岁,,,,} ,22}
1,/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 2,,,,,,,在File 名称:stack_test.cpp 3,,,,,,,在作者:xiaoxiaohui 4,,,,,,,在邮件:1924224891 @qq.com 5,,,,,,,祝辞,Created 时间:2016年05月19日,星期四,21时01分44秒 6才能,* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */7,才能 8,才能# include9,才能using namespace std ,10 ,11 void 打印(ListNode *, phead) ,12 { ,13,,,,stack 待到windows下再更新具体内容。
从尾到头打印链表