You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
347 B
18 lines
347 B
#include "functions.h"
|
|
|
|
int resetInput(char* input)
|
|
{
|
|
memset(&input[0], 0, sizeof(input));
|
|
return 0;
|
|
}
|
|
|
|
int printEndMsg(int score, int questCount)
|
|
{
|
|
printf("Sie haben %d von %d Fragen richtig beantwortet.\n", score, questCount);
|
|
return 0;
|
|
}
|
|
|
|
int compareStrings(const char* input, const char* buf)
|
|
{
|
|
return strcmp(input, buf);
|
|
}
|