added more files from main repo
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
target_sources(${TARGET_NAME}
|
||||
PUBLIC
|
||||
printChar.c
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user