generated from freudenreichan/info2Praktikum-Wortsalat
test13
This commit is contained in:
parent
c4b0ef5427
commit
673eae7d17
@ -2,7 +2,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
//#include <ctype.h>
|
||||||
|
|
||||||
|
|
||||||
#define MAX_RAND_TRIES_PER_WORD 10
|
#define MAX_RAND_TRIES_PER_WORD 10
|
||||||
@ -105,7 +105,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
// fügt zufällige Buchstaben ein
|
// fügt zufällige Buchstaben ein
|
||||||
for(int l = 0; l < searchFieldLen; l++){
|
for(int l = 0; l < searchFieldLen; l++){
|
||||||
for(int m = 0; m < searchFieldLen; m++ ){
|
for(int m = 0; m < searchFieldLen; m++ ){
|
||||||
@ -122,6 +122,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
|
|||||||
}
|
}
|
||||||
|
|
||||||
return placedWords; //platzierte Wörter zurückgeben
|
return placedWords; //platzierte Wörter zurückgeben
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prints the word salad to console
|
// Prints the word salad to console
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user