commit dc22358231944047f9d0f0237b62196c4d2c1f1f parent 86e1738e83a46ea0ee41c08d74af11b150465465 Author: Christos Margiolis <christos@margiolis.net> Date: Wed, 15 Apr 2020 05:07:33 +0300 updated submodule Diffstat:
133 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/.gitmodules b/.gitmodules diff --git a/README.md b/README.md diff --git a/assignment-1.1-basic-elements/C1a-CORRECTED.c b/assignment-1.1-basic-elements/C1a-CORRECTED.c diff --git a/assignment-1.1-basic-elements/Cube-Sphere.c b/assignment-1.1-basic-elements/Cube-Sphere.c diff --git a/assignment-1.1-basic-elements/IO-Exercise.c b/assignment-1.1-basic-elements/IO-Exercise.c diff --git a/assignment-1.1-basic-elements/examples/C1a.c b/assignment-1.1-basic-elements/examples/C1a.c diff --git a/assignment-1.2-conditional-statements/examples/C2a.c b/assignment-1.2-conditional-statements/examples/C2a.c diff --git a/assignment-1.2-conditional-statements/examples/C2b.c b/assignment-1.2-conditional-statements/examples/C2b.c diff --git a/assignment-1.2-conditional-statements/examples/C2c.c b/assignment-1.2-conditional-statements/examples/C2c.c diff --git a/assignment-1.2-conditional-statements/int-comparison.c b/assignment-1.2-conditional-statements/int-comparison.c diff --git a/assignment-1.2-conditional-statements/quadratic-equation.c b/assignment-1.2-conditional-statements/quadratic-equation.c diff --git a/assignment-1.3-loops/int-calcs.c b/assignment-1.3-loops/int-calcs.c diff --git a/assignment-1.3-loops/shapes.c b/assignment-1.3-loops/shapes.c diff --git a/assignment-1.3-loops/sine-taylor.c b/assignment-1.3-loops/sine-taylor.c diff --git a/assignment-1.4-functions/README.md b/assignment-1.4-functions/README.md diff --git a/assignment-1.4-functions/hanoi-tower/Makefile b/assignment-1.4-functions/hanoi-tower/Makefile diff --git a/assignment-1.4-functions/hanoi-tower/src/hanoi-tower.c b/assignment-1.4-functions/hanoi-tower/src/hanoi-tower.c diff --git a/assignment-1.4-functions/menu/Makefile b/assignment-1.4-functions/menu/Makefile diff --git a/assignment-1.4-functions/menu/include/menu.h b/assignment-1.4-functions/menu/include/menu.h diff --git a/assignment-1.4-functions/menu/src/main.c b/assignment-1.4-functions/menu/src/main.c diff --git a/assignment-1.4-functions/menu/src/menu.c b/assignment-1.4-functions/menu/src/menu.c diff --git a/assignment-1.4-functions/sine-cos-taylor/Makefile b/assignment-1.4-functions/sine-cos-taylor/Makefile diff --git a/assignment-1.4-functions/sine-cos-taylor/include/sine-cos-taylor.h b/assignment-1.4-functions/sine-cos-taylor/include/sine-cos-taylor.h diff --git a/assignment-1.4-functions/sine-cos-taylor/src/main.c b/assignment-1.4-functions/sine-cos-taylor/src/main.c diff --git a/assignment-1.4-functions/sine-cos-taylor/src/sine-cos-taylor.c b/assignment-1.4-functions/sine-cos-taylor/src/sine-cos-taylor.c diff --git a/assignment-1.5-arrays-pointers-files/README.md b/assignment-1.5-arrays-pointers-files/README.md diff --git a/assignment-1.5-arrays-pointers-files/combinations/Makefile b/assignment-1.5-arrays-pointers-files/combinations/Makefile diff --git a/assignment-1.5-arrays-pointers-files/combinations/bin/combs b/assignment-1.5-arrays-pointers-files/combinations/bin/combs Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/combinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/combinations/include/arrhandler.h diff --git a/assignment-1.5-arrays-pointers-files/combinations/include/ccolors.h b/assignment-1.5-arrays-pointers-files/combinations/include/ccolors.h diff --git a/assignment-1.5-arrays-pointers-files/combinations/include/combinations.h b/assignment-1.5-arrays-pointers-files/combinations/include/combinations.h diff --git a/assignment-1.5-arrays-pointers-files/combinations/obj/arrhandler.o b/assignment-1.5-arrays-pointers-files/combinations/obj/arrhandler.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/combinations/obj/combinations.o b/assignment-1.5-arrays-pointers-files/combinations/obj/combinations.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/combinations/obj/main.o b/assignment-1.5-arrays-pointers-files/combinations/obj/main.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/combinations/src/arrhandler.c diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/combinations.c b/assignment-1.5-arrays-pointers-files/combinations/src/combinations.c diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/main.c b/assignment-1.5-arrays-pointers-files/combinations/src/main.c diff --git a/assignment-1.5-arrays-pointers-files/combinations/txt/data.txt b/assignment-1.5-arrays-pointers-files/combinations/txt/data.txt diff --git a/assignment-1.5-arrays-pointers-files/combinations/txt/data40.txt b/assignment-1.5-arrays-pointers-files/combinations/txt/data40.txt diff --git a/assignment-1.5-arrays-pointers-files/combinations/txt/data49.txt b/assignment-1.5-arrays-pointers-files/combinations/txt/data49.txt diff --git a/assignment-1.5-arrays-pointers-files/combinations/txt/data7.txt b/assignment-1.5-arrays-pointers-files/combinations/txt/data7.txt diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.synctex.gz b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.synctex.gz Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex diff --git a/assignment-1.5-arrays-pointers-files/examples/1DDynamic.c b/assignment-1.5-arrays-pointers-files/examples/1DDynamic.c diff --git a/assignment-1.5-arrays-pointers-files/examples/Lexico.c b/assignment-1.5-arrays-pointers-files/examples/Lexico.c diff --git a/assignment-1.5-arrays-pointers-files/examples/mystring.c b/assignment-1.5-arrays-pointers-files/examples/mystring.c diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/Makefile b/assignment-1.5-arrays-pointers-files/fcombinations/Makefile diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/bin/fcombs b/assignment-1.5-arrays-pointers-files/fcombinations/bin/fcombs Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/fcombinations/include/arrhandler.h diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/include/ccolors.h b/assignment-1.5-arrays-pointers-files/fcombinations/include/ccolors.h diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/include/fcombinations.h b/assignment-1.5-arrays-pointers-files/fcombinations/include/fcombinations.h diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/obj/arrhandler.o b/assignment-1.5-arrays-pointers-files/fcombinations/obj/arrhandler.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/obj/fcombinations.o b/assignment-1.5-arrays-pointers-files/fcombinations/obj/fcombinations.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/obj/main.o b/assignment-1.5-arrays-pointers-files/fcombinations/obj/main.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/arrhandler.c diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/fcombinations.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/fcombinations.c diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/main.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/main.c diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/txt/data.txt b/assignment-1.5-arrays-pointers-files/fcombinations/txt/data.txt diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/txt/data40.txt b/assignment-1.5-arrays-pointers-files/fcombinations/txt/data40.txt diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/txt/data49.txt b/assignment-1.5-arrays-pointers-files/fcombinations/txt/data49.txt diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/txt/data7.txt b/assignment-1.5-arrays-pointers-files/fcombinations/txt/data7.txt diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/Makefile b/assignment-1.5-arrays-pointers-files/kcombinations/Makefile diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/bin/combs b/assignment-1.5-arrays-pointers-files/kcombinations/bin/combs Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/bin/kcombs b/assignment-1.5-arrays-pointers-files/kcombinations/bin/kcombs Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/kcombinations/include/arrhandler.h diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/include/ccolors.h b/assignment-1.5-arrays-pointers-files/kcombinations/include/ccolors.h diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/include/kcombinations.h b/assignment-1.5-arrays-pointers-files/kcombinations/include/kcombinations.h diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/obj/arrhandler.o b/assignment-1.5-arrays-pointers-files/kcombinations/obj/arrhandler.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/obj/kcombinations.o b/assignment-1.5-arrays-pointers-files/kcombinations/obj/kcombinations.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/obj/main.o b/assignment-1.5-arrays-pointers-files/kcombinations/obj/main.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/arrhandler.c diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/kcombinations.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/kcombinations.c diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/main.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/main.c diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata.txt b/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata.txt diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata40.txt b/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata40.txt diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata49.txt b/assignment-1.5-arrays-pointers-files/kcombinations/txt/kdata49.txt diff --git a/assignment-1.5-arrays-pointers-files/minecurses/Makefile b/assignment-1.5-arrays-pointers-files/minecurses/Makefile diff --git a/assignment-1.5-arrays-pointers-files/minecurses/README.md b/assignment-1.5-arrays-pointers-files/minecurses/README.md diff --git a/assignment-1.5-arrays-pointers-files/minecurses/bin/minecurses b/assignment-1.5-arrays-pointers-files/minecurses/bin/minecurses Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/audio.h b/assignment-1.5-arrays-pointers-files/minecurses/include/audio.h @@ -1,14 +0,0 @@ -#ifndef AUDIO_H -#define AUDIO_H - -#include <SDL2/SDL.h> -#include <SDL2/SDL_mixer.h> -#include "minesweeper.h" - -#define AUDIO_PATH "audio/detective-8bit.wav" - -void *play_audio(void *threadid); -void volume (char); -void pause_audio(void); - -#endif /* AUDIO_H */ diff --git a/assignment-1.5-arrays-pointers-files/minecurses/obj/audio.o b/assignment-1.5-arrays-pointers-files/minecurses/obj/audio.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minecurses/audio/detective-8bit.wav b/assignment-1.5-arrays-pointers-files/minecurses/res/detective-8bit.wav Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/audio.c b/assignment-1.5-arrays-pointers-files/minecurses/src/audio.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/audio.h b/assignment-1.5-arrays-pointers-files/minecurses/src/audio.h @@ -0,0 +1,14 @@ +#ifndef AUDIO_H +#define AUDIO_H + +#include <SDL2/SDL.h> +#include <SDL2/SDL_mixer.h> +#include "minesweeper.h" + +#define AUDIO_PATH "res/detective-8bit.wav" + +void *play_audio(void *threadid); +void volume (char); +void pause_audio(void); + +#endif /* AUDIO_H */ diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/gameplay.c b/assignment-1.5-arrays-pointers-files/minecurses/src/gameplay.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/gameplay.h b/assignment-1.5-arrays-pointers-files/minecurses/src/gameplay.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/main.c b/assignment-1.5-arrays-pointers-files/minecurses/src/main.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/minesweeper.c b/assignment-1.5-arrays-pointers-files/minecurses/src/minesweeper.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/minesweeper.h b/assignment-1.5-arrays-pointers-files/minecurses/src/minesweeper.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/navigation.c b/assignment-1.5-arrays-pointers-files/minecurses/src/navigation.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/navigation.h b/assignment-1.5-arrays-pointers-files/minecurses/src/navigation.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/outputs.c b/assignment-1.5-arrays-pointers-files/minecurses/src/outputs.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/outputs.h b/assignment-1.5-arrays-pointers-files/minecurses/src/outputs.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/settings.c b/assignment-1.5-arrays-pointers-files/minecurses/src/settings.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/settings.h b/assignment-1.5-arrays-pointers-files/minecurses/src/settings.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/src/wins.c b/assignment-1.5-arrays-pointers-files/minecurses/src/wins.c diff --git a/assignment-1.5-arrays-pointers-files/minecurses/include/wins.h b/assignment-1.5-arrays-pointers-files/minecurses/src/wins.h diff --git a/assignment-1.5-arrays-pointers-files/minecurses/txt/mnsout.txt b/assignment-1.5-arrays-pointers-files/minecurses/txt/mnsout.txt @@ -1,9 +1,19 @@ -Last mine defused at position (2, 3) +Mine hit at position (6, 4) Board overview -- - - - - -1 1 1 - - -1 D 1 - - -1 1 1 - - -- - - - - +1 1 1 - - - - - - - - - - - - +1 * 1 - - - - - - - - - - - - +1 1 1 - 1 1 1 1 1 1 - - - - - +- - - - 1 * 1 1 * 1 - - - - - +- - 1 1 2 1 1 1 1 1 - - - - - +- - 1 * 1 - - - - - - 1 1 1 - +- - 1 1 1 - - - - - - 1 * 1 - +- - - 1 1 1 - - - - - 1 1 1 - +- - - 1 * 1 - - - - - 1 1 1 - +- - - 1 1 1 - - 1 1 1 1 * 1 - +- 1 1 1 - - - - 1 * 1 1 1 1 - +- 1 * 1 - - - - 1 1 1 - - - - +- 1 1 1 - - - - - - - - - - - +- - - - - - - - - - 1 1 1 - - +- - - - - - - - - - 1 * 1 - - diff --git a/assignment-1.5-arrays-pointers-files/minecurses/txt/scorelog.txt b/assignment-1.5-arrays-pointers-files/minecurses/txt/scorelog.txt @@ -7,7 +7,3 @@ Player Mines Defused Dimensions ------------------------------------------------------ christos 1 5x5 christos 1 5x5 - -christos 1 5x5 - - 1 5x5- \ No newline at end of file diff --git a/assignment-2.1-fromctocpp/Ex1.cpp b/assignment-2.1-fromctocpp/Ex1.cpp diff --git a/assignment-2.1-fromctocpp/fromctocpp.cpp b/assignment-2.1-fromctocpp/fromctocpp.cpp diff --git a/assignment-2.2-classes/BigIntv1.cpp b/assignment-2.2-classes/BigIntv1.cpp diff --git a/assignment-2.2-classes/classes.cpp b/assignment-2.2-classes/classes.cpp diff --git a/assignment-2.3-operoverloading/BigIntv3.cpp b/assignment-2.3-operoverloading/BigIntv3.cpp diff --git a/assignment-2.3-operoverloading/Makefile b/assignment-2.3-operoverloading/Makefile diff --git a/assignment-2.3-operoverloading/obj/main.o b/assignment-2.3-operoverloading/obj/main.o Binary files differ. diff --git a/assignment-2.3-operoverloading/obj/student.o b/assignment-2.3-operoverloading/obj/student.o Binary files differ. diff --git a/assignment-2.3-operoverloading/obj/subject.o b/assignment-2.3-operoverloading/obj/subject.o Binary files differ. diff --git a/assignment-2.3-operoverloading/src/main.cpp b/assignment-2.3-operoverloading/src/main.cpp diff --git a/assignment-2.3-operoverloading/src/student.cpp b/assignment-2.3-operoverloading/src/student.cpp diff --git a/assignment-2.3-operoverloading/src/student.h b/assignment-2.3-operoverloading/src/student.h diff --git a/assignment-2.3-operoverloading/src/subject.cpp b/assignment-2.3-operoverloading/src/subject.cpp diff --git a/assignment-2.3-operoverloading/src/subject.h b/assignment-2.3-operoverloading/src/subject.h diff --git a/assignment-2.4-inheritance/Makefile b/assignment-2.4-inheritance/Makefile diff --git a/assignment-2.4-inheritance/data.txt b/assignment-2.4-inheritance/data.txt diff --git a/assignment-2.4-inheritance/obj/appsystem.o b/assignment-2.4-inheritance/obj/appsystem.o Binary files differ. diff --git a/assignment-2.4-inheritance/obj/game.o b/assignment-2.4-inheritance/obj/game.o Binary files differ. diff --git a/assignment-2.4-inheritance/obj/main.o b/assignment-2.4-inheritance/obj/main.o Binary files differ. diff --git a/assignment-2.4-inheritance/obj/manufacturer.o b/assignment-2.4-inheritance/obj/manufacturer.o Binary files differ. diff --git a/assignment-2.4-inheritance/obj/office.o b/assignment-2.4-inheritance/obj/office.o Binary files differ. diff --git a/assignment-2.4-inheritance/obj/review.o b/assignment-2.4-inheritance/obj/review.o Binary files differ. diff --git a/assignment-2.4-inheritance/src/appsystem.cpp b/assignment-2.4-inheritance/src/appsystem.cpp diff --git a/assignment-2.4-inheritance/src/appsystem.h b/assignment-2.4-inheritance/src/appsystem.h diff --git a/assignment-2.4-inheritance/src/game.cpp b/assignment-2.4-inheritance/src/game.cpp diff --git a/assignment-2.4-inheritance/src/game.h b/assignment-2.4-inheritance/src/game.h diff --git a/assignment-2.4-inheritance/src/main.cpp b/assignment-2.4-inheritance/src/main.cpp diff --git a/assignment-2.4-inheritance/src/manufacturer.cpp b/assignment-2.4-inheritance/src/manufacturer.cpp diff --git a/assignment-2.4-inheritance/src/manufacturer.h b/assignment-2.4-inheritance/src/manufacturer.h diff --git a/assignment-2.4-inheritance/src/office.cpp b/assignment-2.4-inheritance/src/office.cpp diff --git a/assignment-2.4-inheritance/src/office.h b/assignment-2.4-inheritance/src/office.h diff --git a/assignment-2.4-inheritance/src/review.cpp b/assignment-2.4-inheritance/src/review.cpp diff --git a/assignment-2.4-inheritance/src/review.h b/assignment-2.4-inheritance/src/review.h