I tried running the following code (all the couts are for error checking) and it outputs the same column number for each queen placed and it does rows 4,3,2,0. not 1 for some reason. This is the nqueens problem using stacks and backtracking. If someone could look over my code that would be VERY helpful, i'm kind of lost on this whole problem so the code may be a bit jumbled. Any suggestions would be helpful! I have only 2 more days to get this done and i'm confused about it. I attached the main program Queens.cpp and the Location.h and .cpp which is the object used to store the points of each queen object