• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

[Java] Eight queens help?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I'm a little new to Java and am in need of some help with my program, the goal is to make a program which will show all the "eight queens" solutions.

This is an example of one:
http://spaz.ca/aaron/SCS/queens/

I'm currently stuck however, and need help in getting mine working.

Here is the link to my source codes - http://rapidshare.de/files/18428259/files.zip.html (2 files included), both of which do not work at the moment, as i'm unsure of what i'm doing wrong.

If anyone can fix either of these programs, or tell me how to, then i'd appreciate it deeply.

All and any help is appreciated.

Thanks,
- Noxel
 
Marshal
Posts: 80288
433
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.
It is difficult to help without knowing what goes wrong, and please put your code on the posting if possible. I cannot run your code because the hsa.Console class is not available.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a very interesting problem and quite common as a homework assignment for beginning programming courses. What problems have you encountered in writing this program? What is "not working" at the moment? Does your code compile? If not, what are the COMPLETE compiler errors? If it does compile, what happens when you run it? How does this differ from what you expect?

If you can provide some insight to what is happening, you might find that you solve the problem yourself. If not, then we can provide some hints and explanations to get you started in the right direction.

Good luck and keep coding!

Layne
 
I want my playground back. Here, I'll give you this tiny ad for it:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic