When I run the PointTest.cpp file |
It would help if you familiarize yourself with the terminology. You don't
run a file, you compile one or more files (compilation units), which are eventually linked together and formed into a final executable.
Here's a link:
https://www.learncpp.com/cpp-tutorial/introduction-to-the-compiler-linker-and-libraries/
Yes, compile[r] error and compile-time error mean the same thing in this context.
A linker error is not a runtime error, it's all before the final executable is made. The error in your first post is specifically a linker error, but honestly that doesn't make too much of a difference here, the bigger point is that it isn't a run-time error.
What compiler are you using, and what is the command-line you are giving it?
________________________________________
Note that you didn't answer all of Handy Andy's questions.
I assume you have been able to successfully compile a "hello world" program?
If so, perhaps something has gone wrong with your existing files. If you're in a project, I suggest cleaning your project or making a new one and copying the code in manually. Since you have multiple files, make sure that all of your files are part of your project.