Template
showWordsalad Funktion in Start_Windows
This commit is contained in:
@@ -19,5 +19,12 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
|
||||
// Prints the word salad to console
|
||||
void showWordSalad(const char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen)
|
||||
{
|
||||
|
||||
for (int i=0; i < searchFieldLen; i++) {
|
||||
for (int j=0; j < searchFieldLen; j++) {
|
||||
printf("$c",salad[i][j]);
|
||||
printf(" ");
|
||||
}
|
||||
printf ("\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user