debug vstupu 4

This commit is contained in:
Aleš Novysedlák 2025-02-25 10:19:07 +01:00
parent 22aeaaeecc
commit 93a7c34130

View File

@ -15,7 +15,7 @@ int main() {
int max_number_user_pair[2] = {0,0};
int starting_index = 0;
while(starting_index<string_index) {
while (loading_string[iterating_index] != ' ' && loading_string[iterating_index] != '\0' && loading_string != '\n') {
while (loading_string[iterating_index] != ' ' && loading_string[iterating_index] != '\0' && loading_string[iterating_index] != '\n') {
iterating_index++;
}
if (loading_string == '\n') break;
@ -41,6 +41,7 @@ int main() {
int i = 0;
while(i != '\0') {
printf("%d ", loading_string[i]);
i++;
}
return 0;
}