added my name
This commit is contained in:
parent
049a40aaa0
commit
88ea1e8453
7 changed files with 53 additions and 29 deletions
|
|
@ -1,9 +1,9 @@
|
|||
/*----------------------------------------------------------
|
||||
* HTBLA-Leonding / Class: <your class>
|
||||
* HTBLA-Leonding / Class: 2IHIF
|
||||
* ---------------------------------------------------------
|
||||
* Exercise Number: 09
|
||||
* Title: Tower of Hanoi Disk ADT implementation
|
||||
* Author: */<your name>/*
|
||||
* Author: Marc Tismonar
|
||||
* ----------------------------------------------------------
|
||||
* Description:
|
||||
* Implementation of toh_board.h.
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
/* Includes, definitions and instanciations */
|
||||
#include "toh_board.h"
|
||||
|
||||
/* ========================================================= */
|
||||
/* Private functions */
|
||||
|
|
@ -23,7 +24,7 @@
|
|||
* @param target The rod to which the disk shall be moved.
|
||||
* @return True if the move was successful and according to the rules, false otherwise.
|
||||
*/
|
||||
static <type> ts_move_disk(<params>) {
|
||||
static bool ts_move_disk(Rod source, Rod target) {
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +40,7 @@ static <type> ts_move_disk(<params>) {
|
|||
* @param target The rod to which the disks shall be moved.
|
||||
* @return True if the move was successful and according to the rules, false otherwise.
|
||||
*/
|
||||
static <type> ts_move_stack(<params>) {
|
||||
static bool ts_move_stack(unsigned short size, Rod source, Rod intermediate, Rod target) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue