C ordening

This commit is contained in:
Rens Pastoor
2025-05-27 23:26:28 +02:00
parent 39269a71a7
commit 517087ccc1
207 changed files with 0 additions and 4278 deletions

View File

@@ -0,0 +1,27 @@
#ifndef TERMINAL_IO_H
#define TERMINAL_IO_H
#include "skater.h"
typedef enum
{
MO_SHOW_ICESKATERS,
MO_ADD_ICESKATER,
MO_REMOVE_ICESKATER,
MO_ADD_TIME,
MO_SHOW_CLASSIFICATION,
MO_SHOW_FINAL_CLASSIFICATION,
MO_LOAD,
MO_SAVE,
MO_QUIT
} MenuOptions;
void clearScreen();
int getInt(const char* message);
int getLimitedInt(const char* message, const char* items[], int nrItems);
void getStr(const char* message, char* str, int maxLength);
MenuOptions getMenuChoice();
void printProgramHeader();
#endif