As the title says, I am having problems with my JAR template program.
All I know is that I created two files (function.cpp and function.h) and created 3 “functions” and the log reports that they are all undefined references. Linked my code below. TIA.
Ok, so, apparently, my code was not in a folder for some reason, but it was available to VS Code, so I just decided to scrap it. Now I have a different issue. I created a new JAR Template and am now getting different issues.
I tried looking for the exact file I was using but it wasn’t there, then I figured out that VS Code was using an old file that wasn’t on my computer anymore.
you should use vex extension in vs code after you install extension you should open a new project and after you should copy ur files and folders. otherwise it cannot recognize vex files and gives an error