Author: Omid David Tabibi
Date: 08:26:23 04/10/03
Go up one level in this thread
On April 10, 2003 at 11:02:35, Russell Reagan wrote: >On April 10, 2003 at 07:16:31, Omid David Tabibi wrote: > >>Now the output is clear, e.g.: >> >>####### >>### #### >> ####### >>## ##### >>##### ## >># ###### >>###### # >>#### ### > >The original code had the entire for loop on one line, and it worked correctly, >putting 'Q' where each queen is supposed to be, and '#' represented dark >squares, while spaces represented light squares. I guess posting it here added >in a newline or something that altered the functionality of the code. Here's an >example of the output I get. > > # # # Q ># Q # # >Q# # # # ># # #Q# > Q # # # ># # Q # > # # #Q# ># #Q# # > > # # # Q ># #Q# # >Q# # # # ># Q # # > # # Q # >#Q# # # > # # #Q# ># # Q # > >To see the version I have, that works correctly, you can go here: >http://home.attbi.com/~rreagan/8queens.c Got it: when posting it here, the " #Q" turned into "#Q" omitting the space.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.