27 lines
521 B
C
27 lines
521 B
C
#include "input.h"
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include <windows.h>
|
|
|
|
int i = 10;
|
|
|
|
int main(void) {
|
|
|
|
// Read words from file and store in 'words' array
|
|
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
|
{
|
|
|
|
while (i < 100) {
|
|
Sleep(5000);
|
|
|
|
|
|
|
|
i++;
|
|
}
|
|
|
|
|
|
//TODO: Implement function to read words from file words.txt and store them in the words array. See, that in the file words are not seperated only by , ; or space but also by new lines.
|
|
}
|
|
|
|
return 0;
|
|
} |