Invalid conversion from int* to int even though I delimit the pointer

前端 未结 0 1840
时光说笑
时光说笑 2021-01-28 04:37

I\'ve received the following error:

NQueens.cpp:35:19: error: invalid conversion from \'int*\' to \'int\' [-fpermissive]
    solution[i].y = *(possibilities + i);         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题