Program Fatal Error- Please Explain
unresolved external symbol "short __cdecl displaygrid(short (* const)[16][5],short (* const)[16][5])" (?displaygrid@@YAFQAY1BA@4F0@Z)
Can someone please explain that error... looks a little like gibberish to me (I'm new at programming).
Thanks in advance.
Please Accept My Gratitude
I just realized that a minute ago. I was going to post that I figured it out, but you got there ahead of me, LOL. Thanks!
General comments on errors & debugging...
That error message looks like a linker error (?) Link errors can be especially cryptic because they don't point to a particular line of source code, and your functions and variables are sort-of renamed.
Compilers can often get confused. I've had the compiler report a few hundred errors because of one little misplaced bracket.
So, the compiler and linker error messages are only a starting point. And, they won't help you with logical errors (where your program compiles and links without errors, but doesn't do what you expect.)
1- Compile often. Put extra cout statements in your code so you can "see" what is going on. When you write a function, create an empty function first with a dummy return value (if any) to make sure that the function is being called correctly... etc. If you compile and test your code often, you won't have as much difficulty finding the errors. It takes some practice to learn where to start, and how to develop code in a sequence that is testable as you proceed.
2- If you're using an IDE (Integrated Development Environment like Microsoft Visual C++), there is probably a degugger tool that will allow you to insert break points to stop and examine variable values etc.