浏览代码

forgot to change lengths for new arrays

tarfeef101 7 年之前
父节点
当前提交
943708a41c
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test.cc
  2. 二进制
      testfile

+ 3 - 3
test.cc

@@ -15,11 +15,11 @@ int main()
 	cout << "success! inserted x" << endl;
 	test->insert(y, 5);
 	cout << "success! inserted y" << endl;
-	test->insert(z, 5);
+	test->insert(z, 1);
 	cout << "success! inserted z" << endl;
-	test->insert(a, 5);
+	test->insert(a, 7);
 	cout << "success! inserted a" << endl;
-	test->insert(b, 5);
+	test->insert(b, 7);
 	cout << "success! inserted b" << endl;
 	test->myPrintIsBetterThanYoursLogan();
 	cout << "Print Done!" << endl;

二进制
testfile