Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Pseudocode

pseudocode

  • Please log in to reply
2 replies to this topic

#1 Tonchi

Tonchi

    Helping the world with programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1249 posts
  • Location:Zagreb
  • Programming Language:C#, Others
  • Learning:C, C++, Python, JavaScript, Transact-SQL, Assembly

Posted 06 May 2012 - 02:17 PM

Can anyone write me a pseudoce for next problem:

Problem "Queen" has setted 8 queens on chess table so that neither 2 queens don't attack each other. While, queen attack other queen if that queen is in the same row, column or diagonal on the chess table. Make a program which will with recursion solve problem "Queen" and write out all the solutions.

I hate those mindgame algorithms so can anyone write me just pseudocode for this?
  • 0

Microsoft Student Partner, Microsoft Certified Professional


#2 kernelcoder

kernelcoder

    CC Devotee

  • Expert Member
  • PipPipPipPipPipPip
  • 990 posts
  • Location:Dhaka
  • Programming Language:C, Java, C++, C#, Visual Basic .NET
  • Learning:Objective-C, PHP, Python, Delphi/Object Pascal

Posted 06 May 2012 - 06:04 PM

A good explanation here (http://web.engr.oreg...info/chap06.pdf) with pseudo-code.
  • 0

#3 Tonchi

Tonchi

    Helping the world with programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1249 posts
  • Location:Zagreb
  • Programming Language:C#, Others
  • Learning:C, C++, Python, JavaScript, Transact-SQL, Assembly

Posted 06 May 2012 - 09:37 PM

tnx
  • 0

Microsoft Student Partner, Microsoft Certified Professional






Also tagged with one or more of these keywords: pseudocode

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download