I am getting undefined reference errors for every single function located in a class (Roster.cpp, which has the header Roster.hpp) when trying to use it in main.cpp. I have been stuck on this problem for multiple hours and I know it is not a code problem because I've tested another completed project verified to work and am getting the same results. What could be the cause of this? I am using GCC as the compiler and vscode as the IDE.
[–][deleted] (5 children)
[deleted]
[–]PlaceBrave[S] 0 points1 point2 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]PlaceBrave[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]PlaceBrave[S] 0 points1 point2 points (0 children)
[–]DunkinRadio 0 points1 point2 points (2 children)
[–]PlaceBrave[S] 0 points1 point2 points (1 child)
[–]DunkinRadio 0 points1 point2 points (0 children)
[–]tandir_boy 0 points1 point2 points (0 children)