commit 8805d2440c3ba7aa18c26232b4a9f68020774e00 parent caaba56a7cce7013dfafdc124557ce5bb40b8646 Author: Christos Margiolis <christos@margiolis.net> Date: Mon, 20 Jan 2020 11:36:13 +0200 changes in c/k/fcombinations headerfiles Diffstat:
35 files changed, 1076 insertions(+), 85 deletions(-)
diff --git a/assignment-1.5-arrays-pointers-files/README.md b/assignment-1.5-arrays-pointers-files/README.md @@ -1,25 +1,33 @@ # Assignment 1.5: Arrays - Pointers - Files -**UNDER CONSTRUCTION, THE PROGRAMS DON'T WORK YET** +**UNDER CONSTRUCTION, THE PROGRAMS DON'T WORK WELL YET** + +## Programs + +* combinations +* kcombinations +* fcombinations +* minesweeper ## Execution * ```program_name``` = program's name * ```full_path/``` = full path -* ```$``` = terminal command (__don't__ copy it) ### Linux ```shell -$ cd full_path/assignment-1.5-arrays-pointers-files/program_name # combinations / minesweeper +$ cd full_path/assignment-1.5-arrays-pointers-files/program_name $ make $ make run $ make clean # optional ``` -### Windows +### Windows (not tested) -__Requirements:__ MinGW gcc compiler +**Dependencies:** +* MinGW gcc compiler +* ```make``` In CMD, do the following: diff --git a/assignment-1.5-arrays-pointers-files/combinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/combinations/include/arrhandler.h @@ -1,7 +1,7 @@ #ifndef ARRHANDLER_H #define ARRHANDLER_H -#include <stdbool.h> +#include "combinations.h" int *fill_array(int); bool exists_in_array(int *, int, int); diff --git a/assignment-1.5-arrays-pointers-files/combinations/include/combinations.h b/assignment-1.5-arrays-pointers-files/combinations/include/combinations.h @@ -1,8 +1,13 @@ #ifndef COMBINATIONS_H #define COMBINATIONS_H +#include <stdio.h> +#include <stdlib.h> #include <stdbool.h> +#include "arrhandler.h" +#include "ccolors.h" + #define COMBSN 6 void x_pair(int *, int *); diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/combinations/src/arrhandler.c @@ -1,9 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "arrhandler.h" -#include "combinations.h" -#include "ccolors.h" - int *fill_array(int N) { diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/combinations.c b/assignment-1.5-arrays-pointers-files/combinations/src/combinations.c @@ -1,10 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> #include "combinations.h" -#include "arrhandler.h" -#include "ccolors.h" - int get_n() { diff --git a/assignment-1.5-arrays-pointers-files/combinations/src/main.c b/assignment-1.5-arrays-pointers-files/combinations/src/main.c @@ -1,8 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "combinations.h" -#include "arrhandler.h" - int main(int argc, char **argv) { diff --git a/assignment-1.5-arrays-pointers-files/combinations/txt/output.txt b/assignment-1.5-arrays-pointers-files/combinations/txt/output.txt diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux @@ -0,0 +1,68 @@ +\relax +\bbl@beforestart +\babel@aux{english}{} +\@writefile{toc}{\contentsline {section}{\numberline {1}Δομή προγραμμάτων και οδηγίες εκτέλεσης}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Εκτέλεση από Linux}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Δομή φακέλων}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {2}combinations - συνδυασμοί}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}main.c}{2}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../combinations/src/main.c}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}combinations.c}{2}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../combinations/src/combinations.c}{2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}combinations.h}{6}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../combinations/include/combinations.h}{6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.4}arrhandler.c}{6}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../combinations/src/arrhandler.c}{6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.5}arrhandler.h}{8}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../combinations/include/arrhandler.h}{8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.6}Διάγραμμα ροής}{8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.7}Περιγραφή υλοποιήσης}{8}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3}kcombinations - συνδυασμοί με K}{8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}main.c}{8}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../kcombinations/src/main.c}{8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}kcombinations.c}{9}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../kcombinations/src/kcombinations.c}{9}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}kcombinations.h}{12}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../kcombinations/include/kcombinations.h}{12}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4}arrhandler.c}{13}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../kcombinations/src/arrhandler.c}{13}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5}arrhandler.h}{14}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../kcombinations/include/arrhandler.h}{14}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6}Διάγραμμα ροής}{15}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.7}Περιγραφή υλοποιήσης}{15}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4}fcombinations - συνδυασμοί από αρχείο}{15}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}main.c}{15}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../fcombinations/src/main.c}{15}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}fcombinations.c}{15}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../fcombinations/src/fcombinations.c}{15}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}fcombinations.h}{18}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../fcombinations/include/fcombinations.h}{18}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4}arrhandler.c}{19}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../fcombinations/src/arrhandler.c}{19}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.5}arrhandler.h}{21}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../fcombinations/include/arrhandler.h}{21}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6}Διάγραμμα ροής}{21}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7}Περιγραφή υλοποιήσης}{21}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5}minesweeper - ναρκαλιευτής}{21}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}main.c}{21}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/src/main.c}{21}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}minesweeper.c}{21}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/src/minesweeper.c}{22}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}minesweeper.h}{26}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/include/minesweeper.h}{26}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4}gameplay.c}{27}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/src/minesweeper.c}{27}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5}gameplay.h}{31}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/include/gameplay.h}{31}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6}settings.c}{31}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/src/settings.c}{31}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7}settings.h}{33}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/include/settings.h}{33}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8}outputs.c}{33}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/src/outputs.c}{33}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.9}outputs.h}{35}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{../minesweeper/include/outputs.h}{35}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10}Διάγραμμα ροής}{35}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11}Περιγραφή υλοποιήσης}{35}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6}Διευκρινήσεις}{35}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7}Εργαλεία}{35}\protected@file@percent } diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.fdb_latexmk b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.fdb_latexmk @@ -0,0 +1,104 @@ +# Fdb version 3 +["pdflatex"] 1579512508 "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex" "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf" "assignment-1.5" 1579512509 + "../combinations/include/arrhandler.h" 1579512272 229 aa48fec3e5dace689253044fd84238d2 "" + "../combinations/include/combinations.h" 1579512256 574 2d6e64fc588cf621232d9d4bee6fb87e "" + "../combinations/src/arrhandler.c" 1579512282 1594 825de07a3d571e3b4b28d433468583a1 "" + "../combinations/src/combinations.c" 1579512256 3279 ae05cca5cb51f62bea3193b341d1d3fa "" + "../combinations/src/main.c" 1579512219 283 d373b4cfe9556ab5e60dcacc07d1e3d7 "" + "../fcombinations/include/arrhandler.h" 1579512437 230 28731d108f0c93f915cbbe9273901ab4 "" + "../fcombinations/include/fcombinations.h" 1579512491 614 99178b51a7add7e7be7b07c1ea4075ea "" + "../fcombinations/src/arrhandler.c" 1579512476 1594 825de07a3d571e3b4b28d433468583a1 "" + "../fcombinations/src/fcombinations.c" 1579512500 3420 ae7e618710458088483ddab33a2b528c "" + "../fcombinations/src/main.c" 1579512506 153 421d55e8320ab4e028f129d58b048809 "" + "../kcombinations/include/arrhandler.h" 1579512374 230 adc96b2a5daaf8c48c9b81b45d3285e5 "" + "../kcombinations/include/kcombinations.h" 1579512347 586 ed7e109e9d527e9c610bddf990b5b85b "" + "../kcombinations/src/arrhandler.c" 1579512356 1594 825de07a3d571e3b4b28d433468583a1 "" + "../kcombinations/src/kcombinations.c" 1579512365 3465 f8926a42306776cd521e54d8658e949c "" + "../kcombinations/src/main.c" 1579512391 308 4e19687263d2e727883146383d1b1097 "" + "../minesweeper/include/gameplay.h" 1579511472 319 c2b5df74d5e56242dd0818f4f40723e9 "" + "../minesweeper/include/minesweeper.h" 1579511114 889 3da752031627301847acc435608ba757 "" + "../minesweeper/include/outputs.h" 1579511480 287 facfb3e813960b0c6040836bcb009c39 "" + "../minesweeper/include/settings.h" 1579511118 214 3c2e32158e7979d555d2a177cd8e3663 "" + "../minesweeper/src/main.c" 1579291868 119 8f98f818cf7985f54498130127f438a0 "" + "../minesweeper/src/minesweeper.c" 1579511135 4631 eb19a346dd0c4df4698b80f5e0332b78 "" + "../minesweeper/src/outputs.c" 1579511498 1716 38edb3f7eded30d15a50808745cf558f "" + "../minesweeper/src/settings.c" 1579511189 1916 a6b4d5d68b83abf249087f98df91116f "" + "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux" 1579512509 7229 cb9523044cfbff7359e71af974e6a001 "" + "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex" 1579512110 5736 885b7bf5301a41b6435efec4dea0a152 "" + "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1572595918 3332 103109f5612ad95229751940c61aada0 "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1000.tfm" 1572570180 2832 eba925ba5e32fe347e9766e6c16d224b "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1200.tfm" 1572570180 2848 b1a6a10714c1e712320f7ebdeeab1248 "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1728.tfm" 1572570180 2884 8a5d0a2421f168cf7ed1ce90657c8506 "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1000.tfm" 1572570180 2892 e2ec3249e00a08cabffce6b17d93cb1d "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1200.tfm" 1572570180 2896 3ac7d8e6533249a38ce2ae5f19c21b80 "" + "/usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1440.tfm" 1572570180 2908 c494eb9dd852deadd0ba5459578dc97a "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm" 1572595918 1328 c834bbb027764024c09d3d2bf908b5f0 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1572595918 1324 c910af8c371558dc20f2d7822f66fe64 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1572595918 1524 4414a8315f39513458b80dfc63bff03a "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm" 1572595918 1512 f21f83efb36853c0b70002322c1ab3ad "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm" 1572595918 1520 eccf95517727cb11801f4f1aee3a21b4 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1572595918 1288 655e228510b4c2a1abe905c368440826 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr17.tfm" 1572595918 1292 296a67155bdbfc32aa9c636f21e91433 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr6.tfm" 1572595918 1300 b62933e007d01cfd073f79b963c01526 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr8.tfm" 1572595918 1292 21c1c5bfeaebccffdb478fd231a0997d "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmr9.tfm" 1572595918 1292 6b21b9c2c7bebb38aa2273f7ca0fb3af "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1572595918 1124 6c73e740cf17375f03eec0ee63599741 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1572595918 1116 933a60c408fc0a863a92debe84b2d294 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1572595918 1120 8b7d695260f3cff42e636090a8002094 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmtt10.tfm" 1572595918 768 1321e9409b4137d6fb428ac9dc956269 "" + "/usr/share/texmf-dist/fonts/tfm/public/cm/cmtt9.tfm" 1572595918 764 c98a2af25c99b73a368cf7336e255190 "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb" 1572595918 34811 78b52f49e893bcba91bd7581cdc144c0 "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1572595918 32080 340ef9bf63678554ee606688e7b5339d "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1572595918 35752 024fb6c41858982481f6968b5fc26508 "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1572595918 32722 d7379af29a190c3f453aba36302ff5a9 "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1572595918 32362 179c33bbf43f19adbb3825bb4e36e57a "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb" 1572595918 31809 8670ca339bf94e56da1fc21c80635e2a "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1572595918 32762 224316ccc9ad3ca0423a14971cfa7fc1 "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1572595918 32569 5e5ddc8df908dea60932f3c484a54c0d "" + "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt9.pfb" 1572595918 29078 718ea4567ceff944262b0f5b0800e1d9 "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1000.pfb" 1572570180 82167 345ce464dc0ff0650f62e82447186d00 "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1200.pfb" 1572570180 82406 d18c276c53ecf0006854fdd0a702cfc0 "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1728.pfb" 1572570180 82387 674112ca1d4903bf2b2d1355eed4d7cd "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1000.pfb" 1572570180 75584 3aaf8931f03018ce920dd02857e893d8 "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1200.pfb" 1572570180 78241 b6661890a97dcd8c43fc68214f2bc44a "" + "/usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1440.pfb" 1572570180 82226 c3cf652d6530705d52fe0021e49d4797 "" + "/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1572595918 71627 94eb9990bed73c364d7f53f960cc8c5b "" + "/usr/share/texmf-dist/tex/generic/babel-english/english.ldf" 1572595918 7008 9ff5fdcc865b01beca2b0fe4a46231d4 "" + "/usr/share/texmf-dist/tex/generic/babel-greek/greek.ldf" 1572570180 20261 ccd86b652bf5bd0e1e2739f40b7a249f "" + "/usr/share/texmf-dist/tex/generic/babel/babel.def" 1572595918 81804 3bb5472a03aeb22f281905fcc1b735b2 "" + "/usr/share/texmf-dist/tex/generic/babel/babel.sty" 1572595918 19267 b3fa1edb8df025e71f6c509aae11febb "" + "/usr/share/texmf-dist/tex/generic/babel/switch.def" 1572595918 14543 c96dc306f16879b3fe9b42eccb82621a "" + "/usr/share/texmf-dist/tex/generic/babel/txtbabel.def" 1572595918 5178 5b21c28f495420030a8aa1a19d21f35f "" + "/usr/share/texmf-dist/tex/latex/base/article.cls" 1572595918 19931 9ab70b303cca263e0120c205e98dee99 "" + "/usr/share/texmf-dist/tex/latex/base/inputenc.sty" 1572595918 5050 aae684508bdbe288a555910330f17c1b "" + "/usr/share/texmf-dist/tex/latex/base/omscmr.fd" 1572595918 2470 eac9b55b50df56621bd69fa9b6495a74 "" + "/usr/share/texmf-dist/tex/latex/base/size10.clo" 1572595918 8405 41d2bb848d0640ceaee96d90b89378b7 "" + "/usr/share/texmf-dist/tex/latex/cbfonts-fd/lgrcmr.fd" 1572570180 2679 d425462515e71491c8b283467c8a268c "" + "/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty" 1572595918 11128 a53805799bebfed6358fc1658a18e41f "" + "/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg" 1572595918 1213 620bba36b25224fa9b7e1ccb4ecb76fd "" + "/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def" 1572595918 17334 520b9b85ad8a2a48eda3f643e27a5179 "" + "/usr/share/texmf-dist/tex/latex/graphics/keyval.sty" 1572595918 2590 3aa06f747eb7e19c8d68947f1828fd06 "" + "/usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def" 1572570180 10319 d4447335e9e0f8856538872ae56d961e "" + "/usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty" 1572570180 15586 724e8344c30aa43782f78bc2be4867d2 "" + "/usr/share/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def" 1572570180 17949 0395f3cd683218d5cd899fb9847fdb0d "" + "/usr/share/texmf-dist/tex/latex/greek-fontenc/lgrenc.def" 1572570180 40087 7c612ad64e338558f134a660e9751d97 "" + "/usr/share/texmf-dist/tex/latex/greek-fontenc/textalpha.sty" 1572570180 21716 922901c3982fff4b39e98c4903e6b8d8 "" + "/usr/share/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu" 1572570180 34178 3a496b86f1e3408e75f433fb56b41726 "" + "/usr/share/texmf-dist/tex/latex/listings/listings.cfg" 1572595918 1830 bbaba8afaf42cc048ec4d4ff73467521 "" + "/usr/share/texmf-dist/tex/latex/listings/listings.sty" 1572595918 80511 830f3f1d3ab7448dd84233e9c2f6462c "" + "/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty" 1572595918 204271 6a0ce6b8dafb6c4a13b9036ab1717c77 "" + "/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty" 1572595918 77022 32914f01b528131c47be2a1040d3856d "" + "/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty" 1572595918 55589 34128738f682d033422ca125f82e5d62 "" + "/usr/share/texmf-dist/web2c/texmf.cnf" 1572595918 33301 a3134070eacafb10b1f371612ce2650d "" + "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1576637949 4700588 6cff29fd2f933ef89e76aa832077506f "" + "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1576637926 8044940 7237376ec6b3227cccca554f87e91089 "" + "assignment-1.5.aux" 1579512509 7229 cb9523044cfbff7359e71af974e6a001 "pdflatex" + "assignment-1.5.tex" 1579512110 5736 885b7bf5301a41b6435efec4dea0a152 "" + "assignment-1.5.toc" 1579512509 2980 f0b45bf0479a4dcf088fe11b43167e85 "pdflatex" + (generated) + "assignment-1.5.log" + "assignment-1.5.toc" + "assignment-1.5.pdf" + "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.log" + "/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf" + "assignment-1.5.aux" diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.fls b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.fls @@ -0,0 +1,182 @@ +PWD /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation +INPUT /usr/share/texmf-dist/web2c/texmf.cnf +INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex +OUTPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.log +INPUT /usr/share/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texmf-dist/tex/latex/base/article.cls +INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo +INPUT /usr/share/texmf-dist/tex/latex/base/inputenc.sty +INPUT /usr/share/texmf-dist/tex/latex/base/inputenc.sty +INPUT /usr/share/texmf-dist/tex/generic/babel/babel.sty +INPUT /usr/share/texmf-dist/tex/generic/babel/babel.sty +INPUT /usr/share/texmf-dist/tex/generic/babel/switch.def +INPUT /usr/share/texmf-dist/tex/generic/babel-greek/greek.ldf +INPUT /usr/share/texmf-dist/tex/generic/babel-greek/greek.ldf +INPUT /usr/share/texmf-dist/tex/generic/babel/babel.def +INPUT /usr/share/texmf-dist/tex/generic/babel/txtbabel.def +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +INPUT /usr/share/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu +INPUT /usr/share/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +INPUT /usr/share/texmf-dist/tex/generic/babel-english/english.ldf +INPUT /usr/share/texmf-dist/tex/generic/babel-english/english.ldf +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +INPUT /usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +INPUT /usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/listings.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/listings.sty +INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty +INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/listings.cfg +INPUT /usr/share/texmf-dist/tex/latex/listings/listings.cfg +INPUT /usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty +INPUT /usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty +INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg +INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg +INPUT /usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def +INPUT /usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux +OUTPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux +INPUT /usr/share/texmf-dist/tex/latex/cbfonts-fd/lgrcmr.fd +INPUT /usr/share/texmf-dist/tex/latex/cbfonts-fd/lgrcmr.fd +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def +INPUT /usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def +INPUT /usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +INPUT /usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +INPUT /usr/share/texmf-dist/fonts/map/fontname/texfonts.map +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr17.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1728.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr8.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr6.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1200.tfm +OUTPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf +INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1440.tfm +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1000.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grmn1000.tfm +OUTPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cbfonts/grxn1200.tfm +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmtt10.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmtt9.tfm +INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr9.tfm +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/combinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/combinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/combinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/combinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/combinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/combinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/kcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/kcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/kcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/kcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/kcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/kcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/fcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/fcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/fcombinations.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/fcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/fcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/fcombinations.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/arrhandler.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/arrhandler.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/main.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/minesweeper.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/minesweeper.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/minesweeper.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/gameplay.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/gameplay.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/gameplay.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/settings.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/settings.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/settings.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/settings.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/settings.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/settings.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/outputs.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/outputs.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/outputs.c +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/outputs.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/outputs.h +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/outputs.h +INPUT /usr/share/texmf-dist/tex/latex/base/omscmr.fd +INPUT /usr/share/texmf-dist/tex/latex/base/omscmr.fd +INPUT /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt9.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1000.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1200.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1728.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1000.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1200.pfb +INPUT /usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1440.pfb diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.log b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.log @@ -0,0 +1,597 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch Linux) (preloaded format=pdflatex 2019.12.18) 20 JAN 2020 11:28 +entering extended mode + restricted \write18 enabled. + file:line:error style messages enabled. + %&-line parsing enabled. +**/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex +(/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.tex +LaTeX2e <2019-10-01> patch level 1 +(/usr/share/texmf-dist/tex/latex/base/article.cls +Document Class: article 2019/08/27 v1.4j Standard LaTeX document class +(/usr/share/texmf-dist/tex/latex/base/size10.clo +File: size10.clo 2019/08/27 v1.4j Standard LaTeX file (size option) +) +\c@part=\count80 +\c@section=\count81 +\c@subsection=\count82 +\c@subsubsection=\count83 +\c@paragraph=\count84 +\c@subparagraph=\count85 +\c@figure=\count86 +\c@table=\count87 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) (/usr/share/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2018/08/11 v1.3c Input encoding file +\inpenc@prehook=\toks14 +\inpenc@posthook=\toks15 +) (/usr/share/texmf-dist/tex/generic/babel/babel.sty +Package: babel 2019/10/15 3.35 The Babel package + (/usr/share/texmf-dist/tex/generic/babel/switch.def +File: switch.def 2019/10/15 3.35 Babel switching mechanism +) (/usr/share/texmf-dist/tex/generic/babel-greek/greek.ldf +Language: greek 2016/09/07 v1.9h Greek support for the babel system + (/usr/share/texmf-dist/tex/generic/babel/babel.def +File: babel.def 2019/10/15 3.35 Babel common definitions +\babel@savecnt=\count88 +\U@D=\dimen103 + (/usr/share/texmf-dist/tex/generic/babel/txtbabel.def) +\bbl@dirlevel=\count89 +) +\bbl@monogreek=\count90 +\bbl@polygreek=\count91 +\bbl@ancientgreek=\count92 + (/usr/share/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +File: lgrenc.def 2019/07/09 v0.13.3 LGR Greek font encoding definitions +Now handling font encoding LGR ... +... processing UTF-8 mapping file for font encoding LGR + (/usr/share/texmf-dist/tex/latex/greek-inputenc/lgrenc.dfu +File: lgrenc.dfu 2019/07/11 1.7 UTF-8 support for Greek + defining Unicode char U+00A8 (decimal 168) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00AF (decimal 175) + defining Unicode char U+00B4 (decimal 180) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+0259 (decimal 601) + defining Unicode char U+02D8 (decimal 728) + defining Unicode char U+0374 (decimal 884) + defining Unicode char U+0375 (decimal 885) + defining Unicode char U+037A (decimal 890) + defining Unicode char U+037E (decimal 894) + defining Unicode char U+0384 (decimal 900) + defining Unicode char U+0385 (decimal 901) + defining Unicode char U+0386 (decimal 902) + defining Unicode char U+0387 (decimal 903) + defining Unicode char U+0388 (decimal 904) + defining Unicode char U+0389 (decimal 905) + defining Unicode char U+038A (decimal 906) + defining Unicode char U+038C (decimal 908) + defining Unicode char U+038E (decimal 910) + defining Unicode char U+038F (decimal 911) + defining Unicode char U+0390 (decimal 912) + defining Unicode char U+0391 (decimal 913) + defining Unicode char U+0392 (decimal 914) + defining Unicode char U+0393 (decimal 915) + defining Unicode char U+0394 (decimal 916) + defining Unicode char U+0395 (decimal 917) + defining Unicode char U+0396 (decimal 918) + defining Unicode char U+0397 (decimal 919) + defining Unicode char U+0398 (decimal 920) + defining Unicode char U+0399 (decimal 921) + defining Unicode char U+039A (decimal 922) + defining Unicode char U+039B (decimal 923) + defining Unicode char U+039C (decimal 924) + defining Unicode char U+039D (decimal 925) + defining Unicode char U+039E (decimal 926) + defining Unicode char U+039F (decimal 927) + defining Unicode char U+03A0 (decimal 928) + defining Unicode char U+03A1 (decimal 929) + defining Unicode char U+03A3 (decimal 931) + defining Unicode char U+03A4 (decimal 932) + defining Unicode char U+03A5 (decimal 933) + defining Unicode char U+03A6 (decimal 934) + defining Unicode char U+03A7 (decimal 935) + defining Unicode char U+03A8 (decimal 936) + defining Unicode char U+03A9 (decimal 937) + defining Unicode char U+03AA (decimal 938) + defining Unicode char U+03AB (decimal 939) + defining Unicode char U+03AC (decimal 940) + defining Unicode char U+03AD (decimal 941) + defining Unicode char U+03AE (decimal 942) + defining Unicode char U+03AF (decimal 943) + defining Unicode char U+03B0 (decimal 944) + defining Unicode char U+03B1 (decimal 945) + defining Unicode char U+03B2 (decimal 946) + defining Unicode char U+03B3 (decimal 947) + defining Unicode char U+03B4 (decimal 948) + defining Unicode char U+03B5 (decimal 949) + defining Unicode char U+03B6 (decimal 950) + defining Unicode char U+03B7 (decimal 951) + defining Unicode char U+03B8 (decimal 952) + defining Unicode char U+03B9 (decimal 953) + defining Unicode char U+03BA (decimal 954) + defining Unicode char U+03BB (decimal 955) + defining Unicode char U+03BC (decimal 956) + defining Unicode char U+03BD (decimal 957) + defining Unicode char U+03BE (decimal 958) + defining Unicode char U+03BF (decimal 959) + defining Unicode char U+03C0 (decimal 960) + defining Unicode char U+03C1 (decimal 961) + defining Unicode char U+03C2 (decimal 962) + defining Unicode char U+03C3 (decimal 963) + defining Unicode char U+03C4 (decimal 964) + defining Unicode char U+03C5 (decimal 965) + defining Unicode char U+03C6 (decimal 966) + defining Unicode char U+03C7 (decimal 967) + defining Unicode char U+03C8 (decimal 968) + defining Unicode char U+03C9 (decimal 969) + defining Unicode char U+03CA (decimal 970) + defining Unicode char U+03CB (decimal 971) + defining Unicode char U+03CC (decimal 972) + defining Unicode char U+03CD (decimal 973) + defining Unicode char U+03CE (decimal 974) + defining Unicode char U+03D0 (decimal 976) + defining Unicode char U+03D1 (decimal 977) + defining Unicode char U+03D5 (decimal 981) + defining Unicode char U+03D6 (decimal 982) + defining Unicode char U+03D8 (decimal 984) + defining Unicode char U+03D9 (decimal 985) + defining Unicode char U+03DA (decimal 986) + defining Unicode char U+03DB (decimal 987) + defining Unicode char U+03DC (decimal 988) + defining Unicode char U+03DD (decimal 989) + defining Unicode char U+03DF (decimal 991) + defining Unicode char U+03E0 (decimal 992) + defining Unicode char U+03E1 (decimal 993) + defining Unicode char U+03F0 (decimal 1008) + defining Unicode char U+03F1 (decimal 1009) + defining Unicode char U+03F4 (decimal 1012) + defining Unicode char U+03F5 (decimal 1013) + defining Unicode char U+1F00 (decimal 7936) + defining Unicode char U+1F01 (decimal 7937) + defining Unicode char U+1F02 (decimal 7938) + defining Unicode char U+1F03 (decimal 7939) + defining Unicode char U+1F04 (decimal 7940) + defining Unicode char U+1F05 (decimal 7941) + defining Unicode char U+1F06 (decimal 7942) + defining Unicode char U+1F07 (decimal 7943) + defining Unicode char U+1F08 (decimal 7944) + defining Unicode char U+1F09 (decimal 7945) + defining Unicode char U+1F0A (decimal 7946) + defining Unicode char U+1F0B (decimal 7947) + defining Unicode char U+1F0C (decimal 7948) + defining Unicode char U+1F0D (decimal 7949) + defining Unicode char U+1F0E (decimal 7950) + defining Unicode char U+1F0F (decimal 7951) + defining Unicode char U+1F10 (decimal 7952) + defining Unicode char U+1F11 (decimal 7953) + defining Unicode char U+1F12 (decimal 7954) + defining Unicode char U+1F13 (decimal 7955) + defining Unicode char U+1F14 (decimal 7956) + defining Unicode char U+1F15 (decimal 7957) + defining Unicode char U+1F18 (decimal 7960) + defining Unicode char U+1F19 (decimal 7961) + defining Unicode char U+1F1A (decimal 7962) + defining Unicode char U+1F1B (decimal 7963) + defining Unicode char U+1F1C (decimal 7964) + defining Unicode char U+1F1D (decimal 7965) + defining Unicode char U+1F20 (decimal 7968) + defining Unicode char U+1F21 (decimal 7969) + defining Unicode char U+1F22 (decimal 7970) + defining Unicode char U+1F23 (decimal 7971) + defining Unicode char U+1F24 (decimal 7972) + defining Unicode char U+1F25 (decimal 7973) + defining Unicode char U+1F26 (decimal 7974) + defining Unicode char U+1F27 (decimal 7975) + defining Unicode char U+1F28 (decimal 7976) + defining Unicode char U+1F29 (decimal 7977) + defining Unicode char U+1F2A (decimal 7978) + defining Unicode char U+1F2B (decimal 7979) + defining Unicode char U+1F2C (decimal 7980) + defining Unicode char U+1F2D (decimal 7981) + defining Unicode char U+1F2E (decimal 7982) + defining Unicode char U+1F2F (decimal 7983) + defining Unicode char U+1F30 (decimal 7984) + defining Unicode char U+1F31 (decimal 7985) + defining Unicode char U+1F32 (decimal 7986) + defining Unicode char U+1F33 (decimal 7987) + defining Unicode char U+1F34 (decimal 7988) + defining Unicode char U+1F35 (decimal 7989) + defining Unicode char U+1F36 (decimal 7990) + defining Unicode char U+1F37 (decimal 7991) + defining Unicode char U+1F38 (decimal 7992) + defining Unicode char U+1F39 (decimal 7993) + defining Unicode char U+1F3A (decimal 7994) + defining Unicode char U+1F3B (decimal 7995) + defining Unicode char U+1F3C (decimal 7996) + defining Unicode char U+1F3D (decimal 7997) + defining Unicode char U+1F3E (decimal 7998) + defining Unicode char U+1F3F (decimal 7999) + defining Unicode char U+1F40 (decimal 8000) + defining Unicode char U+1F41 (decimal 8001) + defining Unicode char U+1F42 (decimal 8002) + defining Unicode char U+1F43 (decimal 8003) + defining Unicode char U+1F44 (decimal 8004) + defining Unicode char U+1F45 (decimal 8005) + defining Unicode char U+1F48 (decimal 8008) + defining Unicode char U+1F49 (decimal 8009) + defining Unicode char U+1F4A (decimal 8010) + defining Unicode char U+1F4B (decimal 8011) + defining Unicode char U+1F4C (decimal 8012) + defining Unicode char U+1F4D (decimal 8013) + defining Unicode char U+1F50 (decimal 8016) + defining Unicode char U+1F51 (decimal 8017) + defining Unicode char U+1F52 (decimal 8018) + defining Unicode char U+1F53 (decimal 8019) + defining Unicode char U+1F54 (decimal 8020) + defining Unicode char U+1F55 (decimal 8021) + defining Unicode char U+1F56 (decimal 8022) + defining Unicode char U+1F57 (decimal 8023) + defining Unicode char U+1F59 (decimal 8025) + defining Unicode char U+1F5B (decimal 8027) + defining Unicode char U+1F5D (decimal 8029) + defining Unicode char U+1F5F (decimal 8031) + defining Unicode char U+1F60 (decimal 8032) + defining Unicode char U+1F61 (decimal 8033) + defining Unicode char U+1F62 (decimal 8034) + defining Unicode char U+1F63 (decimal 8035) + defining Unicode char U+1F64 (decimal 8036) + defining Unicode char U+1F65 (decimal 8037) + defining Unicode char U+1F66 (decimal 8038) + defining Unicode char U+1F67 (decimal 8039) + defining Unicode char U+1F68 (decimal 8040) + defining Unicode char U+1F69 (decimal 8041) + defining Unicode char U+1F6A (decimal 8042) + defining Unicode char U+1F6B (decimal 8043) + defining Unicode char U+1F6C (decimal 8044) + defining Unicode char U+1F6D (decimal 8045) + defining Unicode char U+1F6E (decimal 8046) + defining Unicode char U+1F6F (decimal 8047) + defining Unicode char U+1F70 (decimal 8048) + defining Unicode char U+1F71 (decimal 8049) + defining Unicode char U+1F72 (decimal 8050) + defining Unicode char U+1F73 (decimal 8051) + defining Unicode char U+1F74 (decimal 8052) + defining Unicode char U+1F75 (decimal 8053) + defining Unicode char U+1F76 (decimal 8054) + defining Unicode char U+1F77 (decimal 8055) + defining Unicode char U+1F78 (decimal 8056) + defining Unicode char U+1F79 (decimal 8057) + defining Unicode char U+1F7A (decimal 8058) + defining Unicode char U+1F7B (decimal 8059) + defining Unicode char U+1F7C (decimal 8060) + defining Unicode char U+1F7D (decimal 8061) + defining Unicode char U+1F80 (decimal 8064) + defining Unicode char U+1F81 (decimal 8065) + defining Unicode char U+1F82 (decimal 8066) + defining Unicode char U+1F83 (decimal 8067) + defining Unicode char U+1F84 (decimal 8068) + defining Unicode char U+1F85 (decimal 8069) + defining Unicode char U+1F86 (decimal 8070) + defining Unicode char U+1F87 (decimal 8071) + defining Unicode char U+1F88 (decimal 8072) + defining Unicode char U+1F89 (decimal 8073) + defining Unicode char U+1F8A (decimal 8074) + defining Unicode char U+1F8B (decimal 8075) + defining Unicode char U+1F8C (decimal 8076) + defining Unicode char U+1F8D (decimal 8077) + defining Unicode char U+1F8E (decimal 8078) + defining Unicode char U+1F8F (decimal 8079) + defining Unicode char U+1F90 (decimal 8080) + defining Unicode char U+1F91 (decimal 8081) + defining Unicode char U+1F92 (decimal 8082) + defining Unicode char U+1F93 (decimal 8083) + defining Unicode char U+1F94 (decimal 8084) + defining Unicode char U+1F95 (decimal 8085) + defining Unicode char U+1F96 (decimal 8086) + defining Unicode char U+1F97 (decimal 8087) + defining Unicode char U+1F98 (decimal 8088) + defining Unicode char U+1F99 (decimal 8089) + defining Unicode char U+1F9A (decimal 8090) + defining Unicode char U+1F9B (decimal 8091) + defining Unicode char U+1F9C (decimal 8092) + defining Unicode char U+1F9D (decimal 8093) + defining Unicode char U+1F9E (decimal 8094) + defining Unicode char U+1F9F (decimal 8095) + defining Unicode char U+1FA0 (decimal 8096) + defining Unicode char U+1FA1 (decimal 8097) + defining Unicode char U+1FA2 (decimal 8098) + defining Unicode char U+1FA3 (decimal 8099) + defining Unicode char U+1FA4 (decimal 8100) + defining Unicode char U+1FA5 (decimal 8101) + defining Unicode char U+1FA6 (decimal 8102) + defining Unicode char U+1FA7 (decimal 8103) + defining Unicode char U+1FA8 (decimal 8104) + defining Unicode char U+1FA9 (decimal 8105) + defining Unicode char U+1FAA (decimal 8106) + defining Unicode char U+1FAB (decimal 8107) + defining Unicode char U+1FAC (decimal 8108) + defining Unicode char U+1FAD (decimal 8109) + defining Unicode char U+1FAE (decimal 8110) + defining Unicode char U+1FAF (decimal 8111) + defining Unicode char U+1FB0 (decimal 8112) + defining Unicode char U+1FB1 (decimal 8113) + defining Unicode char U+1FB2 (decimal 8114) + defining Unicode char U+1FB3 (decimal 8115) + defining Unicode char U+1FB4 (decimal 8116) + defining Unicode char U+1FB6 (decimal 8118) + defining Unicode char U+1FB7 (decimal 8119) + defining Unicode char U+1FB8 (decimal 8120) + defining Unicode char U+1FB9 (decimal 8121) + defining Unicode char U+1FBA (decimal 8122) + defining Unicode char U+1FBB (decimal 8123) + defining Unicode char U+1FBC (decimal 8124) + defining Unicode char U+1FBD (decimal 8125) + defining Unicode char U+1FBE (decimal 8126) + defining Unicode char U+1FBF (decimal 8127) + defining Unicode char U+1FC0 (decimal 8128) + defining Unicode char U+1FC1 (decimal 8129) + defining Unicode char U+1FC2 (decimal 8130) + defining Unicode char U+1FC3 (decimal 8131) + defining Unicode char U+1FC4 (decimal 8132) + defining Unicode char U+1FC6 (decimal 8134) + defining Unicode char U+1FC7 (decimal 8135) + defining Unicode char U+1FC8 (decimal 8136) + defining Unicode char U+1FC9 (decimal 8137) + defining Unicode char U+1FCA (decimal 8138) + defining Unicode char U+1FCB (decimal 8139) + defining Unicode char U+1FCC (decimal 8140) + defining Unicode char U+1FCD (decimal 8141) + defining Unicode char U+1FCE (decimal 8142) + defining Unicode char U+1FCF (decimal 8143) + defining Unicode char U+1FD0 (decimal 8144) + defining Unicode char U+1FD1 (decimal 8145) + defining Unicode char U+1FD2 (decimal 8146) + defining Unicode char U+1FD3 (decimal 8147) + defining Unicode char U+1FD6 (decimal 8150) + defining Unicode char U+1FD7 (decimal 8151) + defining Unicode char U+1FD8 (decimal 8152) + defining Unicode char U+1FD9 (decimal 8153) + defining Unicode char U+1FDA (decimal 8154) + defining Unicode char U+1FDB (decimal 8155) + defining Unicode char U+1FDD (decimal 8157) + defining Unicode char U+1FDE (decimal 8158) + defining Unicode char U+1FDF (decimal 8159) + defining Unicode char U+1FE0 (decimal 8160) + defining Unicode char U+1FE1 (decimal 8161) + defining Unicode char U+1FE2 (decimal 8162) + defining Unicode char U+1FE3 (decimal 8163) + defining Unicode char U+1FE4 (decimal 8164) + defining Unicode char U+1FE5 (decimal 8165) + defining Unicode char U+1FE6 (decimal 8166) + defining Unicode char U+1FE7 (decimal 8167) + defining Unicode char U+1FE8 (decimal 8168) + defining Unicode char U+1FE9 (decimal 8169) + defining Unicode char U+1FEA (decimal 8170) + defining Unicode char U+1FEB (decimal 8171) + defining Unicode char U+1FEC (decimal 8172) + defining Unicode char U+1FED (decimal 8173) + defining Unicode char U+1FEE (decimal 8174) + defining Unicode char U+1FEF (decimal 8175) + defining Unicode char U+1FF2 (decimal 8178) + defining Unicode char U+1FF3 (decimal 8179) + defining Unicode char U+1FF4 (decimal 8180) + defining Unicode char U+1FF6 (decimal 8182) + defining Unicode char U+1FF7 (decimal 8183) + defining Unicode char U+1FF8 (decimal 8184) + defining Unicode char U+1FF9 (decimal 8185) + defining Unicode char U+1FFA (decimal 8186) + defining Unicode char U+1FFB (decimal 8187) + defining Unicode char U+1FFC (decimal 8188) + defining Unicode char U+1FFD (decimal 8189) + defining Unicode char U+1FFE (decimal 8190) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+20AC (decimal 8364) + defining Unicode char U+2126 (decimal 8486) + defining Unicode char U+10144 (decimal 65860) + defining Unicode char U+10145 (decimal 65861) + defining Unicode char U+10146 (decimal 65862) + defining Unicode char U+10147 (decimal 65863) +) (/usr/share/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +File: greek-fontenc.def 2015/08/04 v0.13.4 Common Greek font encoding definitions +))) (/usr/share/texmf-dist/tex/generic/babel-english/english.ldf +Language: english 2017/06/06 v3.3r English support from the babel system +\l@canadian = a dialect from \language\l@american +\l@australian = a dialect from \language\l@british +\l@newzealand = a dialect from \language\l@british +)) (/usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +Package: alphabeta 2016/02/05 v0.13.2 macros for Greek letters in text and math + (/usr/share/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +Package: textalpha 2019/07/11 v0.13.4 macros for Greek letters in text +)) (/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +Package: fancyhdr 2019/01/31 v3.10 Extensive control of page headers and footers +\f@nch@headwidth=\skip43 +\f@nch@O@elh=\skip44 +\f@nch@O@erh=\skip45 +\f@nch@O@olh=\skip46 +\f@nch@O@orh=\skip47 +\f@nch@O@elf=\skip48 +\f@nch@O@erf=\skip49 +\f@nch@O@olf=\skip50 +\f@nch@O@orf=\skip51 +) (/usr/share/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks16 +) +\lst@mode=\count93 +\lst@gtempboxa=\box27 +\lst@token=\toks17 +\lst@length=\count94 +\lst@currlwidth=\dimen104 +\lst@column=\count95 +\lst@pos=\count96 +\lst@lostspace=\dimen105 +\lst@width=\dimen106 +\lst@newlines=\count97 +\lst@lineno=\count98 +\lst@maxwidth=\dimen107 + (/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2019/09/10 1.8c (Carsten Heinz) +\c@lstnumber=\count99 +\lst@skipnumbers=\count100 +\lst@framebox=\box28 +) (/usr/share/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2019/09/10 1.8c listings configuration +)) +Package: listings 2019/09/10 1.8c (Carsten Heinz) + (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty +Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK) + (/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 225. + (/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +) +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352. +Package xcolor Info: Model `RGB' extended on input line 1364. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371. +) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux) +\openout1 = `assignment-1.5.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 70. +LaTeX Font Info: ... okay on input line 70. +LaTeX Font Info: Checking defaults for LGR/cmr/m/n on input line 70. +LaTeX Font Info: Trying to load font information for LGR+cmr on input line 70. + (/usr/share/texmf-dist/tex/latex/cbfonts-fd/lgrcmr.fd +File: lgrcmr.fd 2017/07/29 v1.2 Greek European Computer Regular +) +LaTeX Font Info: ... okay on input line 70. + (/usr/share/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def +File: alphabeta-lgr 2014/09/04 0.11.2 Composite definitions for 8-bit TeX +) + defining Unicode char U+0393 (decimal 915) + defining Unicode char U+0394 (decimal 916) + defining Unicode char U+0398 (decimal 920) + defining Unicode char U+039B (decimal 923) + defining Unicode char U+039E (decimal 926) + defining Unicode char U+03A0 (decimal 928) + defining Unicode char U+03A3 (decimal 931) + defining Unicode char U+03A5 (decimal 933) + defining Unicode char U+03A6 (decimal 934) + defining Unicode char U+03A8 (decimal 936) + defining Unicode char U+03A9 (decimal 937) + defining Unicode char U+03B1 (decimal 945) + defining Unicode char U+03B2 (decimal 946) + defining Unicode char U+03B3 (decimal 947) + defining Unicode char U+03B4 (decimal 948) + defining Unicode char U+03B5 (decimal 949) + defining Unicode char U+03B6 (decimal 950) + defining Unicode char U+03B7 (decimal 951) + defining Unicode char U+03B8 (decimal 952) + defining Unicode char U+03B9 (decimal 953) + defining Unicode char U+03BA (decimal 954) + defining Unicode char U+03BB (decimal 955) + defining Unicode char U+03BC (decimal 956) + defining Unicode char U+03BD (decimal 957) + defining Unicode char U+03BE (decimal 958) + defining Unicode char U+03C0 (decimal 960) + defining Unicode char U+03C1 (decimal 961) + defining Unicode char U+03C2 (decimal 962) + defining Unicode char U+03C3 (decimal 963) + defining Unicode char U+03C4 (decimal 964) + defining Unicode char U+03C5 (decimal 965) + defining Unicode char U+03C6 (decimal 966) + defining Unicode char U+03C7 (decimal 967) + defining Unicode char U+03C8 (decimal 968) + defining Unicode char U+03C9 (decimal 969) + defining Unicode char U+03D1 (decimal 977) + defining Unicode char U+03D5 (decimal 981) + defining Unicode char U+03D6 (decimal 982) + defining Unicode char U+03DD (decimal 989) + defining Unicode char U+03F1 (decimal 1009) + defining Unicode char U+03F5 (decimal 1013) +\c@lstlisting=\count101 + (/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count102 +\scratchdimen=\dimen108 +\scratchbox=\box29 +\nofMPsegments=\count103 +\nofMParguments=\count104 +\everyMPshowfont=\toks18 +\MPscratchCnt=\count105 +\MPscratchDim=\dimen109 +\MPnumerator=\count106 +\makeMPintoPDFobject=\count107 +\everyMPtoPDFconversion=\toks19 +) +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 73. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 73. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 73. + [1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <7> on input line 3. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 3. + [1]) +\tf@toc=\write3 +\openout3 = `assignment-1.5.toc'. + + +Overfull \hbox (2.0168pt too wide) in paragraph at lines 79--79 +[]\LGR/cmr/bx/n/14.4 Dom pro-gram-mtwn kai odhgec ek-tleshc + [] + +(/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2019/09/10 1.8c listings language file +) (/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2019/09/10 1.8c listings language file +) (/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2019/09/10 1.8c listings language file +) (/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2019/09/10 1.8c (Carsten Heinz) +) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/main.c) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/combinations.c [2] [3] [4]) [5] (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/combinations.h) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/src/arrhandler.c [6] [7]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../combinations/include/arrhandler.h) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/main.c [8]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/kcombinations.c [9] [10] [11]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/kcombinations.h [12]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/src/arrhandler.c [13]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../kcombinations/include/arrhandler.h [14]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/main.c) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/fcombinations.c [15] [16] [17]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/fcombinations.h [18]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/src/arrhandler.c [19] [20]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../fcombinations/include/arrhandler.h) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/main.c) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c [21] [22] [23] [24] [25]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/minesweeper.h) [26] (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/minesweeper.c [27] [28] [29] [30]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/gameplay.h) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/settings.c [31] [32]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/settings.h) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/src/outputs.c [33] [34]) (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/../minesweeper/include/outputs.h) +LaTeX Font Info: Trying to load font information for OMS+cmr on input line 200. + (/usr/share/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 200. + [35] (/home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.aux) ) +Here is how much of TeX's memory you used: + 5805 strings out of 492167 + 86617 string characters out of 6131557 + 526405 words of memory out of 5000000 + 10060 multiletter control sequences out of 15000+600000 + 12700 words of font info for 37 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 33i,12n,53p,579b,1851s stack positions out of 5000i,500n,10000p,200000b,80000s +</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt9.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1000.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1200.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grmn1728.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1000.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1200.pfb></usr/share/texmf-dist/fonts/type1/public/cbfonts/grxn1440.pfb> +Output written on /home/christos/christos-extended/repos/uni/uni-assignments/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.pdf (36 pages, 253754 bytes). +PDF statistics: + 180 PDF objects out of 1000 (max. 8388607) + 125 compressed objects within 2 object streams + 0 named destinations out of 1000 (max. 500000) + 1 words of extra memory for PDF output out of 10000 (max. 10000000) + 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 @@ -107,6 +107,8 @@ $ make clean #optional \subsection{arrhandler.h} \lstinputlisting[language=C]{../combinations/include/arrhandler.h} + \subsection{Διάγραμμα ροής} + \subsection{Περιγραφή υλοποιήσης} @@ -127,6 +129,8 @@ $ make clean #optional \subsection{arrhandler.h} \lstinputlisting[language=C]{../kcombinations/include/arrhandler.h} + \subsection{Διάγραμμα ροής} + \subsection{Περιγραφή υλοποιήσης} @@ -147,6 +151,8 @@ $ make clean #optional \subsection{arrhandler.h} \lstinputlisting[language=C]{../fcombinations/include/arrhandler.h} + \subsection{Διάγραμμα ροής} + \subsection{Περιγραφή υλοποιήσης} @@ -167,6 +173,20 @@ $ make clean #optional \subsection{gameplay.h} \lstinputlisting[language=C]{../minesweeper/include/gameplay.h} + \subsection{settings.c} + \lstinputlisting[language=C]{../minesweeper/src/settings.c} + + \subsection{settings.h} + \lstinputlisting[language=C]{../minesweeper/include/settings.h} + + \subsection{outputs.c} + \lstinputlisting[language=C]{../minesweeper/src/outputs.c} + + \subsection{outputs.h} + \lstinputlisting[language=C]{../minesweeper/include/outputs.h} + + \subsection{Διάγραμμα ροής} + \subsection{Περιγραφή υλοποιήσης} @@ -178,8 +198,9 @@ $ make clean #optional \begin{itemize} \item Editors: Visual Studio Code, Vim - \item OS: Arch Linux + \item Compiler: gcc \item Shell: zsh + \item OS: Arch Linux \item Συγγραφή: \LaTeX \end{itemize} diff --git a/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc b/assignment-1.5-arrays-pointers-files/documentation/assignment-1.5.toc @@ -0,0 +1,42 @@ +\babel@toc {english}{} +\contentsline {section}{\numberline {1}Δομή προγραμμάτων και οδηγίες εκτέλεσης}{2}% +\contentsline {subsection}{\numberline {1.1}Εκτέλεση από Linux}{2}% +\contentsline {subsection}{\numberline {1.2}Δομή φακέλων}{2}% +\contentsline {section}{\numberline {2}combinations - συνδυασμοί}{2}% +\contentsline {subsection}{\numberline {2.1}main.c}{2}% +\contentsline {subsection}{\numberline {2.2}combinations.c}{2}% +\contentsline {subsection}{\numberline {2.3}combinations.h}{6}% +\contentsline {subsection}{\numberline {2.4}arrhandler.c}{6}% +\contentsline {subsection}{\numberline {2.5}arrhandler.h}{8}% +\contentsline {subsection}{\numberline {2.6}Διάγραμμα ροής}{8}% +\contentsline {subsection}{\numberline {2.7}Περιγραφή υλοποιήσης}{8}% +\contentsline {section}{\numberline {3}kcombinations - συνδυασμοί με K}{8}% +\contentsline {subsection}{\numberline {3.1}main.c}{8}% +\contentsline {subsection}{\numberline {3.2}kcombinations.c}{9}% +\contentsline {subsection}{\numberline {3.3}kcombinations.h}{12}% +\contentsline {subsection}{\numberline {3.4}arrhandler.c}{13}% +\contentsline {subsection}{\numberline {3.5}arrhandler.h}{14}% +\contentsline {subsection}{\numberline {3.6}Διάγραμμα ροής}{15}% +\contentsline {subsection}{\numberline {3.7}Περιγραφή υλοποιήσης}{15}% +\contentsline {section}{\numberline {4}fcombinations - συνδυασμοί από αρχείο}{15}% +\contentsline {subsection}{\numberline {4.1}main.c}{15}% +\contentsline {subsection}{\numberline {4.2}fcombinations.c}{15}% +\contentsline {subsection}{\numberline {4.3}fcombinations.h}{18}% +\contentsline {subsection}{\numberline {4.4}arrhandler.c}{19}% +\contentsline {subsection}{\numberline {4.5}arrhandler.h}{21}% +\contentsline {subsection}{\numberline {4.6}Διάγραμμα ροής}{21}% +\contentsline {subsection}{\numberline {4.7}Περιγραφή υλοποιήσης}{21}% +\contentsline {section}{\numberline {5}minesweeper - ναρκαλιευτής}{21}% +\contentsline {subsection}{\numberline {5.1}main.c}{21}% +\contentsline {subsection}{\numberline {5.2}minesweeper.c}{21}% +\contentsline {subsection}{\numberline {5.3}minesweeper.h}{26}% +\contentsline {subsection}{\numberline {5.4}gameplay.c}{27}% +\contentsline {subsection}{\numberline {5.5}gameplay.h}{31}% +\contentsline {subsection}{\numberline {5.6}settings.c}{31}% +\contentsline {subsection}{\numberline {5.7}settings.h}{33}% +\contentsline {subsection}{\numberline {5.8}outputs.c}{33}% +\contentsline {subsection}{\numberline {5.9}outputs.h}{35}% +\contentsline {subsection}{\numberline {5.10}Διάγραμμα ροής}{35}% +\contentsline {subsection}{\numberline {5.11}Περιγραφή υλοποιήσης}{35}% +\contentsline {section}{\numberline {6}Διευκρινήσεις}{35}% +\contentsline {section}{\numberline {7}Εργαλεία}{35}% diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/fcombinations/include/arrhandler.h @@ -1,7 +1,7 @@ #ifndef ARRHANDLER_H #define ARRHANDLER_H -#include <stdbool.h> +#include "fcombinations.h" int *fill_array(int); bool exists_in_array(int *, int, int); diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/include/fcombinations.h b/assignment-1.5-arrays-pointers-files/fcombinations/include/fcombinations.h @@ -1,7 +1,13 @@ #ifndef COMBINATIONS_H #define COMBINATIONS_H +#include <stdio.h> +#include <stdlib.h> #include <stdbool.h> +#include <string.h> + +#include "arrhandler.h" +#include "ccolors.h" #define COMBSN 6 diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/arrhandler.c @@ -1,9 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "arrhandler.h" -#include "fcombinations.h" -#include "ccolors.h" - int *fill_array(int N) { diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/fcombinations.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/fcombinations.c @@ -1,12 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> -#include <string.h> #include "fcombinations.h" -#include "ccolors.h" - -#define COMBSN 6 - void read_file(char **argv) { diff --git a/assignment-1.5-arrays-pointers-files/fcombinations/src/main.c b/assignment-1.5-arrays-pointers-files/fcombinations/src/main.c @@ -1,8 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "fcombinations.h" -#include "arrhandler.h" - int main(int argc, char **argv) { diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/include/arrhandler.h b/assignment-1.5-arrays-pointers-files/kcombinations/include/arrhandler.h @@ -1,7 +1,7 @@ #ifndef ARRHANDLER_H #define ARRHANDLER_H -#include <stdbool.h> +#include "kcombinations.h" int *fill_array(int); bool exists_in_array(int *, int, int); diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/include/kcombinations.h b/assignment-1.5-arrays-pointers-files/kcombinations/include/kcombinations.h @@ -1,8 +1,13 @@ #ifndef COMBINATIONS_H #define COMBINATIONS_H +#include <stdio.h> +#include <stdlib.h> #include <stdbool.h> +#include "arrhandler.h" +#include "ccolors.h" + void x_pair(int *, int *); void y_pair(int *, int *); diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/arrhandler.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/arrhandler.c @@ -1,9 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "arrhandler.h" -#include "kcombinations.h" -#include "ccolors.h" - int *fill_array(int N) { diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/kcombinations.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/kcombinations.c @@ -1,10 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> #include "kcombinations.h" -#include "arrhandler.h" -#include "ccolors.h" - int get_n() { diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/src/main.c b/assignment-1.5-arrays-pointers-files/kcombinations/src/main.c @@ -1,8 +1,4 @@ -#include <stdio.h> -#include <stdlib.h> #include "kcombinations.h" -#include "arrhandler.h" - int main(int argc, char **argv) { diff --git a/assignment-1.5-arrays-pointers-files/kcombinations/txt/koutput.txt b/assignment-1.5-arrays-pointers-files/kcombinations/txt/koutput.txt diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/bin/minesweeper b/assignment-1.5-arrays-pointers-files/minesweeper/bin/minesweeper Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/include/gameplay.h b/assignment-1.5-arrays-pointers-files/minesweeper/include/gameplay.h @@ -9,7 +9,5 @@ void selection(struct _win_st*, char **, char **, int, int, int); bool transfer(char **, char **, int, int, int, int *); void reveal(struct _win_st*, char **, int, int); bool defused(char **, char **, int, int, int, int *); -void game_won(struct _win_st*, char **, int, int); -void game_over(struct _win_st*, char **, int, int); #endif \ No newline at end of file diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/include/outputs.h b/assignment-1.5-arrays-pointers-files/minesweeper/include/outputs.h @@ -3,6 +3,9 @@ #include "minesweeper.h" +void game_won(struct _win_st*, char **, int, int); +void game_over(struct _win_st*, char **, int, int); + void print_board(struct _win_st*, char **, int, int); void filewrite(char **, int, int, int, int, const char *); diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/mnsout.txt b/assignment-1.5-arrays-pointers-files/minesweeper/mnsout.txt @@ -1,9 +1,9 @@ -Last mine defused at position (0, 1) +Mine hit at position (4, 5) Board overview -1 1 - - - -D 1 - - - -1 1 - - - - - - - - +- - 1 1 1 +- - 1 * 1 +- - 1 1 1 - - - - - diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/obj/gameplay.o b/assignment-1.5-arrays-pointers-files/minesweeper/obj/gameplay.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/obj/outputs.o b/assignment-1.5-arrays-pointers-files/minesweeper/obj/outputs.o Binary files differ. diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/src/gameplay.c b/assignment-1.5-arrays-pointers-files/minesweeper/src/gameplay.c @@ -67,24 +67,4 @@ void reveal(WINDOW *gameWin, char **dispboard, int chCol, int chRow) { mvwaddch(gameWin, chRow+1, chCol+1, dispboard[chCol][chRow]); wrefresh(gameWin); -} - - -void game_won(WINDOW *gameWin, char **mineboard, int yMiddle, int xMiddle) -{ - wclear(gameWin); - mvwprintw(gameWin, yMiddle-11, xMiddle-18, "You defused all the mines!"); - mvwprintw(gameWin, yMiddle-10, xMiddle-10, "You won :)"); - wrefresh(gameWin); - wclear(gameWin); -} - - -void game_over(WINDOW *gameWin, char **mineboard, int yMiddle, int xMiddle) -{ - wclear(gameWin); - mvwprintw(gameWin, yMiddle-11, xMiddle-11, "You hit a mine!"); - mvwprintw(gameWin, yMiddle-10, xMiddle-10, "Game over :("); - wrefresh(gameWin); - wclear(gameWin); } \ No newline at end of file diff --git a/assignment-1.5-arrays-pointers-files/minesweeper/src/outputs.c b/assignment-1.5-arrays-pointers-files/minesweeper/src/outputs.c @@ -1,5 +1,25 @@ #include "outputs.h" +void game_won(WINDOW *gameWin, char **mineboard, int yMiddle, int xMiddle) +{ + wclear(gameWin); + mvwprintw(gameWin, yMiddle-11, xMiddle-18, "You defused all the mines!"); + mvwprintw(gameWin, yMiddle-10, xMiddle-10, "You won :)"); + wrefresh(gameWin); + wclear(gameWin); +} + + +void game_over(WINDOW *gameWin, char **mineboard, int yMiddle, int xMiddle) +{ + wclear(gameWin); + mvwprintw(gameWin, yMiddle-11, xMiddle-11, "You hit a mine!"); + mvwprintw(gameWin, yMiddle-10, xMiddle-10, "Game over :("); + wrefresh(gameWin); + wclear(gameWin); +} + + void print_board(WINDOW *gameWin, char **mineboard, int COLS, int ROWS) { int i, j; diff --git a/assignment-1.5-arrays-pointers-files/notes.md b/assignment-1.5-arrays-pointers-files/notes.md @@ -1,3 +1,2 @@ * meter function -* kcombinations -* ccolors- \ No newline at end of file +* kcombinations+ \ No newline at end of file