added my name

This commit is contained in:
MarcUs7i 2025-01-18 20:04:53 +01:00
parent 049a40aaa0
commit 88ea1e8453
7 changed files with 53 additions and 29 deletions

View file

@ -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) {
}