Good day!
In the description of the logic element functions of a class in another file with rasshireniem .cpp , the compiler issues a message.
main.cpp:(.text+0xa1): undefined reference to `Students::sentName(std::string)'
main.cpp:(.text+0xd0): undefined reference to `Students::sentLName(std::string)'
main.cpp:(.text+0x162): undefined reference to `Students::sentNums(int*)'
main.cpp:(.text+0x182): undefined reference to `Students::sentBall(float)'
main.cpp:(.text+0x194): undefined reference to `Student::getName()'
main.cpp:(.text+0x1e7): undefined reference to `Student::getLName()'
main.cpp:(.text+0x233): undefined reference to `Students::getBall()'
collect2: error: ld returned 1 exit status
Say, you need to specify the option.
As I understand it , the compiler says that there are no links.
Ispolzuyu GCC g++.
Who knows the way out of the situation, help.
Thanks in advance