Hello, I would very much appreciate any help. I'm a new programmar. I'm tring to make a text game and I Keep getting a Debug Assertion Error at runtime. Can Someone Please Help me know why and how to fix it. Thank you.
Code:#include <string> using namespace std; class Space { public: private: string Description; }; class Player { public: Space **Location; private: }; int main(){ Player Anthony; Space A[10][10]; Anthony.Location=(Space**)A ; // I think this part is causing the for ( int i = 0 ; i < 10 ; i++ ){ // error Anthony.Location[i] = A[i] ; } return 0; }