I'm new to programming and wanted to try out VS Code for C++ development. I'm getting this error and I can't find a solution online how to fix:
clang: error: linker command failed with exit code 1 (use -v to see invocation) The terminal process terminated with exit code: 1
I got a cpp file with the function definitions and a header file with the class and declarations in it and also a int main test file.
So its a linker issue. VSC directed me to c_cpp_properties.json and I have no idea what to do next to fix it. I'm also on Mac btw.
Can anyone help me with this?