diff --git a/.gitignore b/.gitignore index 567609b..0187b3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ build/ +*~ diff --git a/chapters/1/exercises/24.c~ b/chapters/1/exercises/24.c~ deleted file mode 100644 index 09732d3..0000000 --- a/chapters/1/exercises/24.c~ +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include "shared/functions.h" -#include "shared/functions/synthaxcheck.c" - -int main() { - char errors[6][30] = { - "none", - "unmatched round bracket", - "unmatched curly bracket", - "unmatched single quote", - "unmatched double quote", - "unmatched square bracket" - }; - int result; - if ((result = synthaxcheck()) == 0) { - printf("No synthax errors found!\n"); - return 0; - } else { - printf("Sythax error found at line %i column %i\nReason: %s\n", unmline, unmcol, errors[result]); - return result; - } -}//)