2022-03-01 13:34:12 +01:00
|
|
|
#include <stdbool.h>
|
2022-03-01 15:06:59 +01:00
|
|
|
#include <stdio.h>
|
2022-03-01 13:34:12 +01:00
|
|
|
|
|
|
|
void printChar(const char* character, bool errStream) {
|
|
|
|
if (errStream) {
|
|
|
|
putc(*character, stderr);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
putc(*character, stdout);
|
|
|
|
}
|