N-Queen Puzzle
-
Is there any one who can give me the source code(c++) of the solution of famous N-Queen Puzzle. The Puzzle is as follows. "Suppose we have n “Queens” and an nxn board. Your task is to place those queens in such a way that no Queen is attacked by the other." Please Please reply I need it urgently. Thanx
Ashfaq
-
Is there any one who can give me the source code(c++) of the solution of famous N-Queen Puzzle. The Puzzle is as follows. "Suppose we have n “Queens” and an nxn board. Your task is to place those queens in such a way that no Queen is attacked by the other." Please Please reply I need it urgently. Thanx
Ashfaq
http://en.wikipedia.org/wiki/Queens_problem[^] has a description of the algorithm to find solutions.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
http://en.wikipedia.org/wiki/Queens_problem[^] has a description of the algorithm to find solutions.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Thanx. But i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
Ashfaq
-
Thanx. But i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
Ashfaq
fastian1834 wrote:
But i dont have enough time to code it perfectly
then, go there : http://www.rentacoder.com[^]
Don't know where to start ?
Refer the Forums Guidelines and ask a friend -
Thanx. But i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
Ashfaq
:zzz:
Nobody can give you wiser advice than yourself. - Cicero
-
Thanx. But i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
Ashfaq
I remember having to do this in the Algorithms course of my MSc too.
Matt
if ( ! pMatt->isEnjoying("Sales") )
{
pMatt->retrain("Computer Science");
pMatt->getNewJob("Developer");
} -
Is there any one who can give me the source code(c++) of the solution of famous N-Queen Puzzle. The Puzzle is as follows. "Suppose we have n “Queens” and an nxn board. Your task is to place those queens in such a way that no Queen is attacked by the other." Please Please reply I need it urgently. Thanx
Ashfaq
Do your homework yourself buddy... :->
We Believe in Excellence www.aqueelmirza.cjb.net
-
Thanx. But i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
Ashfaq
fastian1834 wrote:
i dont have enough time to code it perfectly that's why i am asking one who has coded this puzzle before to give me the source code.
hello dude!!! well, the algorithm is clearly given there in Wikipedia. and i think it will not take much time for its implementation. don't mind, but if u are expecting someone here to give source code to u, then u are expecting a little too much. you can have someone showing u the right way here but no one has the time to write the code for u. :) Good luck...
vijay.
-
Is there any one who can give me the source code(c++) of the solution of famous N-Queen Puzzle. The Puzzle is as follows. "Suppose we have n “Queens” and an nxn board. Your task is to place those queens in such a way that no Queen is attacked by the other." Please Please reply I need it urgently. Thanx
Ashfaq
See here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
Do your homework yourself buddy... :->
We Believe in Excellence www.aqueelmirza.cjb.net
:)
WhiteSky