pls help ? n*n chessboard with n queens marked as Q Use a stack class
n*n chessboard with n queens (marked as Q) Use a stack class. i need solution in c++ pls.
[89 byte] By [
sahid] at [2007-11-11 10:07:17]

# 1 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
n*n chessboard with n queens (marked as Q). Use a stack class.
sahid at 2007-11-11 20:59:21 >

# 2 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
What have you got thus far? We don't do homework assignments here, we're here to help with specific questions.
Danny at 2007-11-11 21:00:27 >

# 3 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
why do you need a stack for this simple problem? Just use recursion and the classic algorithm to spit out a solution.
jonnin at 2007-11-11 21:01:25 >

# 4 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
Because the homeWork says "use a stack" !
If it has provided u the class already, so what u need is to push in it n Q that's all .
Amahdy at 2007-11-11 21:02:30 >

# 5 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
Bah. Teacher is lazy, should let the students find their own design to the problem not force them to fill in the blanks.
jonnin at 2007-11-11 21:03:25 >

# 6 Re: pls help ? n*n chessboard with n queens marked as Q Use a stack class
OK, but which stack did the teacher have in mind? std::stack? a uder-defined stack? some stack they created in class?
Danny at 2007-11-11 21:04:35 >
