Record Detail

Compile Error

cipher.o: In function `std::iterator_traits<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::iterator_category std::__iterator_category<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)':
/in/cipher.cpp:6: multiple definition of `printHelp()'
ex3.o:/in/cipher.cpp:6: first defined here
cipher.o: In function `printcode(int)':
/in/cipher.cpp:16: multiple definition of `printcode(int)'
ex3.o:/in/cipher.cpp:16: first defined here
cipher.o: In function `removeSpaces(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/in/cipher.cpp:20: multiple definition of `removeSpaces(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
ex3.o:/in/cipher.cpp:20: first defined here
collect2: error: ld returned 1 exit status
/in/compile/Makefile:17: recipe for target 'ex3' failed
make: *** [ex3] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 3
Language
C++
Submit At
2024-10-25 10:59:37
Judged At
2024-10-25 10:59:37
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes