2022-09-02 08:50:39 +02:00
|
|
|
#include <stdbool.h>
|
2022-11-09 17:54:08 +01:00
|
|
|
#include <stdio.h>
|
2022-09-02 08:50:39 +02:00
|
|
|
|
2023-01-25 23:54:46 +01:00
|
|
|
void printChar(const char* character, bool errStream) {
|
2022-09-02 08:50:39 +02:00
|
|
|
if (errStream) {
|
|
|
|
fprintf(stderr, "%c", *character);
|
|
|
|
} else {
|
|
|
|
printf("%c", *character);
|
|
|
|
}
|
|
|
|
}
|