I'm working on a homework assignment and I got rid of all the errors and now I'm getting some jibberish that is related to strings and references. I have no idea what I'm doing.
One line of the error for example is :
assignment3.cpp:(.text+0x51): undefined reference to `check_int(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
It repeats that for every string that I've used. Thank you for your help!
The full error is :
/tmp/ccM4pNm1.o: In function `prompt_test(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
assignment3.cpp:(.text+0x17c): undefined reference to `convrt_num(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/tmp/ccM4pNm1.o: In function `prompt_quizzes(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
assignment3.cpp:(.text+0x257): undefined reference to `convrt_num(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/tmp/ccM4pNm1.o: In function `prompt_assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
assignment3.cpp:(.text+0x332): undefined reference to `convrt_num(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/tmp/ccM4pNm1.o: In function `prompt_lab(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
assignment3.cpp:(.text+0x40d): undefined reference to `convrt_num(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: ld returned 1 exit status