Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
695f0c087c |
@ -1,12 +1,18 @@
|
||||
#include "input.h"
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
// TODO:
|
||||
// eine Funktion implementieren, die ein einzelnes Wort aus einer Textdatei (words.txt) einliest und als C-String zurückgibt.
|
||||
// eine Funktion implementieren, die ein einzelnes Wort aus einer Textdatei
|
||||
// (words.txt) einliest und als C-String zurückgibt.
|
||||
|
||||
// Bedingungen, die in main.c geprüft werden:
|
||||
// - existiert die angegebene Datei
|
||||
|
||||
// Read words from file and store in 'words' array
|
||||
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
{
|
||||
int wordCount = 0;
|
||||
|
||||
return wordCount;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user