Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!uwvax!uwmacc!uwmcsd1!dave From: dave@uwmcsd1.UUCP Newsgroups: comp.sys.amiga Subject: Re: Towers of Hanoi Message-ID: <1689@uwmcsd1.UUCP> Date: Tue, 24-Feb-87 13:53:34 EST Article-I.D.: uwmcsd1.1689 Posted: Tue Feb 24 13:53:34 1987 Date-Received: Fri, 27-Feb-87 01:22:25 EST References: <1400@navajo.STANFORD.EDU> Distribution: world Organization: U of Wi-Milwaukee, Computing Services Div Lines: 21 > ----->8 cut cut -------- > > Here's a fun little program. It solves the towers of hanoi in a workbench > > I compiled hanoi with Manx, using 16 bits (code is about 9.2k). It should > compile under Lattice, but that's what I said about YaBoing, too... (and > it didn't) > I compiled it with Lattice 3.03. It didn't like the 'min' and 'max' scattered through the code which I changed to zmin, zmax (or use your imagination). Lattice also doesn't appear to have 'output' defined as stdout, so I just converted the first fputs() to a puts(). Anyhow, it is an amusing little thing to keep your amiga busy while you're away... -- #include Dave Rasmussen c/o Computing Services Division @ U of WI - Milwaukee mmm Internet: dave@csd1.milw.wisc.edu Uucp: uwvax!uwmcsd1!dave {o,o} Csnet: dave%uwmcsd1@uwm Phone: +1 (414) 963-5133 \u/