C Workshop
InputLoop.h
Go to the documentation of this file.
1 #pragma once
2 #include <stdbool.h>
3 
13 void InputLoop();
14 
20 char ReadCharacter();
21 
27 void PrintCharacter(char input);
28 
35 bool IsQ(char input);
void InputLoop()
Function that receives character input from the user and prints it.
Definition: InputLoop.c:5
char ReadCharacter()
Read a character from the user.
Definition: InputLoop.c:23
bool IsQ(char input)
Check if a character is a 'Q' or 'q'.
Definition: InputLoop.c:38
void PrintCharacter(char input)
Print a character to the user.
Definition: InputLoop.c:32