generated from freudenreichan/info2Praktikum-Wortsalat
newest version
This commit is contained in:
commit
5be8b48bd2
4 files changed
+5
-5
No files matched your search
+2
-3
@@ -27,9 +27,8 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
|
||||
maxLength = findmaxLength(words, wordCount);
|
||||
// Size of Field!
|
||||
if (searchFieldLen < maxLength)
|
||||
sizeOfField = maxLength;
|
||||
else
|
||||
sizeOfField = searchFieldLen;
|
||||
return returnValue;
|
||||
sizeOfField = searchFieldLen;
|
||||
initializeField(sizeOfField, salad);
|
||||
// for all words put them in
|
||||
for (unsigned int i = 0; i < wordCount; i++){
|
||||
|
||||
Reference in new issue
Block a user