generated from freudenreichan/info2Praktikum-Wortsalat
Abnahme Anpassungen
This commit is contained in:
parent
fadba480fd
commit
f0f6784d83
Binary file not shown.
Binary file not shown.
@ -12,9 +12,9 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
|||||||
|
|
||||||
char zeile[MAX_LINE_LEN];
|
char zeile[MAX_LINE_LEN];
|
||||||
char inhalt[MAX_WORD_LEN*maxWordCount];
|
char inhalt[MAX_WORD_LEN*maxWordCount];
|
||||||
char *trenner = " .;,";
|
const char *trenner = " .;,";
|
||||||
char *token;
|
char *token = NULL;
|
||||||
char *enter = "\n";
|
const char *enter = "\n";
|
||||||
|
|
||||||
//Zeilen auslesen und als ein String speichern
|
//Zeilen auslesen und als ein String speichern
|
||||||
while(fgets(zeile,MAX_LINE_LEN, file) != NULL){
|
while(fgets(zeile,MAX_LINE_LEN, file) != NULL){
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user