added more files from main repo

This commit is contained in:
2021-06-08 13:36:08 +02:00
parent ecc10513f7
commit 32b1e01e2c
35 changed files with 1839 additions and 1 deletions

View File

@ -0,0 +1,7 @@
target_sources(${TARGET_NAME}
PUBLIC
printChar.c
)

View File

@ -0,0 +1,13 @@
#include <stdio.h>
#include <stdbool.h>
void printChar(const char* character, bool errStream) {
if(errStream) {
fprintf(stderr, "%c", *character);
}
else {
printf("%c", *character);
}
}