kommentare input.c
This commit is contained in:
parent
493c659ea2
commit
1a68c9389f
7
Start_Windows/.idea/workspace.xml
generated
7
Start_Windows/.idea/workspace.xml
generated
@ -26,9 +26,8 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="432ce3b0-b2f5-4014-a4f8-364cc5adc8af" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/game.c" beforeDir="false" afterPath="$PROJECT_DIR$/game.c" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/game.o" beforeDir="false" afterPath="$PROJECT_DIR$/game.o" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runTests.exe" beforeDir="false" afterPath="$PROJECT_DIR$/runTests.exe" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runTests.exe" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/wordsalad_myversion.exe" beforeDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -194,7 +193,7 @@
|
||||
<workItem from="1761847486479" duration="154000" />
|
||||
<workItem from="1761893964767" duration="5024000" />
|
||||
<workItem from="1762085631333" duration="887000" />
|
||||
<workItem from="1762498814624" duration="435000" />
|
||||
<workItem from="1762498814624" duration="907000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
||||
Binary file not shown.
@ -22,8 +22,8 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
{
|
||||
strncpy(words[wordCount], token, MAX_WORD_LEN -1); //kopiert das Wort von token in das array words
|
||||
words[wordCount][MAX_WORD_LEN-1] = '\0';
|
||||
// Konvertiere jedes Zeichen zu Großbuchstaben
|
||||
for (int i = 0; words[wordCount][i] != '\0'; i++)
|
||||
|
||||
for (int i = 0; words[wordCount][i] != '\0'; i++) // Konvertiere jedes Zeichen zu Großbuchstaben
|
||||
words[wordCount][i] = toupper(words[wordCount][i]);
|
||||
|
||||
wordCount++;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user