We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6eb6d commit c82e5eeCopy full SHA for c82e5ee
Utilities/Tree.cpp
@@ -8,8 +8,8 @@ Distributed under the BSD license.
8
*******************************************************************/
9
10
//==================================================================
11
-// 《剑指Offer——名企面试官精讲典型编程题》代码
12
-// 作者:何海涛
+// 《剑指Offer——名企面试官精讲典型编程题》代码
+// 作者:何海涛
13
14
15
#include "Tree.h"
@@ -42,6 +42,7 @@ void PrintTreeNode(const TreeNode* pNode)
42
{
43
if(*i != nullptr)
44
printf("%d\t", (*i)->m_nValue);
45
+ ++i;
46
}
47
48
printf("\n");
0 commit comments