Thread: What first program? Please read it

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    Hanoi's towers is an ancient problem which consists of three towers and some rings of progressive sizes, the game begins with all the rings in the far left tower organized the bigger one below, and the idea is to move them all to the far right tower with these two rules:

    1. you can only move one ring at a time
    2. there can never be a bigger ring on tom of a smaller one

    check it out

    P.S. I couldn't attach the program properly the previous time, so use this one

    Oskilian
    Last edited by oskilian; 11-18-2001 at 05:12 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I read my program on gcc but have to run on bcc...
    By philae in forum C Programming
    Replies: 4
    Last Post: 03-06-2006, 08:28 PM
  2. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  3. Program to help you read faster
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-19-2003, 02:06 PM
  4. Read a file into a loop program
    By TimeClock in forum C Programming
    Replies: 5
    Last Post: 07-17-2003, 06:29 PM
  5. read data
    By in_need in forum C Programming
    Replies: 2
    Last Post: 10-30-2001, 08:10 AM