Browse Source

solving errors

remotes/origin/Saba
Saba Fazlali 11 months ago
parent
commit
20874e564f
  1. 6
      .idea/inspectionProfiles/Project_Default.xml
  2. BIN
      cmake-build-debug/.ninja_deps
  3. 9
      cmake-build-debug/.ninja_log
  4. BIN
      cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o
  5. 4
      cmake-build-debug/Testing/Temporary/LastTest.log
  6. 2
      src/main/c/Hangman/playHangman.h
  7. 2
      src/main/c/main.c

6
.idea/inspectionProfiles/Project_Default.xml

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="OCUnusedIncludeDirective" enabled="true" level="INFORMATION" enabled_by_default="true" />
</profile>
</component>

BIN
cmake-build-debug/.ninja_deps

9
cmake-build-debug/.ninja_log

@ -24,3 +24,12 @@
0 32 1707225688396107422 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 0 32 1707225688396107422 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 28 1707225694194160949 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 0 28 1707225694194160949 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
28 61 1707225694227136765 pmuw_projekt_notebinder a5668107eb06d295 28 61 1707225694227136765 pmuw_projekt_notebinder a5668107eb06d295
1 238 1707234355675849564 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6
1 238 1707234355675849856 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 29 1707234367628021438 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 32 1707234430533256320 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 40 1707234760744162121 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 40 1707234760744025123 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6
0 44 1707236593330321687 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d
0 45 1707236593331008028 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6
45 72 1707236593357601081 pmuw_projekt_notebinder a5668107eb06d295

BIN
cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o

4
cmake-build-debug/Testing/Temporary/LastTest.log

@ -1,3 +1,3 @@
Start testing: Feb 06 14:23 CET
Start testing: Feb 06 17:23 CET
---------------------------------------------------------- ----------------------------------------------------------
End testing: Feb 06 14:23 CET
End testing: Feb 06 17:23 CET

2
src/main/c/Hangman/playHangman.h

@ -9,6 +9,8 @@
#include "word_selector.h" #include "word_selector.h"
// Include function implementations directly from .c files // Include function implementations directly from .c files
void playHangman(char *wordToGuess);
void initializeHangman(char *wordToGuess, char *currentGuess); void initializeHangman(char *wordToGuess, char *currentGuess);
void printRules(); void printRules();
void drawHangman(int incorrectGuesses); void drawHangman(int incorrectGuesses);

2
src/main/c/main.c

@ -28,7 +28,7 @@ int main(){
switch (option){ switch (option){
case 1: case 1:
//start_game1();
playHangman(selectRandomWord());
break; break;
case 2: case 2:
//start_game2(); //start_game2();

Loading…
Cancel
Save