Record Detail

Compile Error

TestFunctions.o: In function `test1()':
/in/compile/TestFunctions.cpp:97: undefined reference to `operator<<(std::ostream&, BinaryTree const&)'
TestFunctions.o: In function `test4()':
/in/compile/TestFunctions.cpp:118: undefined reference to `operator<<(std::ostream&, BinaryTree const&)'
TestFunctions.o: In function `test8()':
/in/compile/TestFunctions.cpp:154: undefined reference to `operator<<(std::ostream&, BinaryTree const&)'
TestFunctions.o: In function `test9()':
/in/compile/TestFunctions.cpp:166: undefined reference to `operator<<(std::ostream&, BinaryTree const&)'
TestFunctions.o: In function `test10()':
/in/compile/TestFunctions.cpp:178: undefined reference to `operator<<(std::ostream&, BinaryTree const&)'
TestFunctions.o:/in/compile/TestFunctions.cpp:200: more undefined references to `operator<<(std::ostream&, BinaryTree const&)' follow
collect2: error: ld returned 1 exit status
/in/compile/Makefile:56: recipe for target 'test' failed
make: *** [test] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 6
Language
C++
Submit At
2024-12-21 17:59:57
Judged At
2024-12-21 17:59:57
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes