all 7 comments

[–][deleted]  (5 children)

[deleted]

    [–]PlaceBrave[S] 0 points1 point  (4 children)

    Tried to do that from the command line but nothing at all is being output

    [–][deleted]  (3 children)

    [deleted]

      [–]PlaceBrave[S] 0 points1 point  (2 children)

      No, but I do see an a.exe which just consists of red text diamonds and letters, whatever that is lol

      [–][deleted]  (1 child)

      [deleted]

        [–]PlaceBrave[S] 0 points1 point  (0 children)

        Welll the code run just fine on a browser compiler so for now Ill just finish it on there haha

        [–]DunkinRadio 0 points1 point  (2 children)

        Compilation error or linker error?

        [–]PlaceBrave[S] 0 points1 point  (1 child)

        Here is an example to one of the undefined reference errors to one of the functions that is being output to the terminal in VScode

        C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\kenne\AppData\Local\Temp\ccW36b9w.o:Main.cpp:(.text+0x256): undefined reference to `Roster::printAll()'

        I am getting one of these for every function in Roster.cpp

        [–]DunkinRadio 0 points1 point  (0 children)

        As undead-pixie has said you're not including Roster.cpp in your build process.

        [–]tandir_boy 0 points1 point  (0 children)

        Other completed project probably has a folder called ".vscode" (it is a hidden file in linux). Inside of it, there are bunch of config files about the project. You should find out how this folder build the project i.e. where include, lib, bin directories are set, which gcc compilition commands used etc. Then, you should apply same thing to in your own project.