forked from schroederen/info2Praktikum-Wortsalat
input.c fertig in Start_Mac
This commit is contained in:
parent
4f0c599056
commit
46a71de3ec
@ -11,6 +11,7 @@
|
|||||||
* @return Anzahl der eingelesenen Wörter
|
* @return Anzahl der eingelesenen Wörter
|
||||||
*/
|
*/
|
||||||
// Read words from file and store in 'words' array
|
// Read words from file and store in 'words' array
|
||||||
|
// ERLEDIGT
|
||||||
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||||
{
|
{
|
||||||
if (file == NULL || words == NULL || maxWordCount == 0) {
|
if (file == NULL || words == NULL || maxWordCount == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user