From 045c3b8e855a644cc2dfbb8e6d9fafa8d2370b9d Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Sat, 9 Jan 2021 11:23:46 +0100 Subject: [PATCH] a --- sk4/kod.txt | 7 +++++++ sk4/program.c | 13 ++++++++++++- sk4/program.exe | Bin 47759 -> 48101 bytes 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 sk4/kod.txt diff --git a/sk4/kod.txt b/sk4/kod.txt new file mode 100644 index 0000000..6df31d6 --- /dev/null +++ b/sk4/kod.txt @@ -0,0 +1,7 @@ +TUK +INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK KUK +DEK DEK KUK +DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK KUK +KUK +DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK KUK +FUK \ No newline at end of file diff --git a/sk4/program.c b/sk4/program.c index 228fc78..221733e 100644 --- a/sk4/program.c +++ b/sk4/program.c @@ -152,8 +152,19 @@ void run_tukafuk(const char* code) {// } } int main() { - run_tukafuk("TUK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK INK KUK DEK DEK KUK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK KUK KUK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK DEK KUK FUK ");// (",[.[-],]") + char buff[30000]; + FILE *fp; + fp = fopen("kod.txt","r"); + + memset(buff,0,sizeof(buff)); + printf("buffer:\n %s\n",buff); + fread(buff,1,30000,fp); + + printf("buffer:\n %s\n",buff); + run_tukafuk(buff); + fclose(fp); printf("Programova Paska: \n"); + for(inst *ptr=ptape;ptr)n^;v+Xf0$+8-Rua zNFd}sx-L8>l-U=Ew**l!ljcZie2sLP(tQGBqh9#GE4ftukS59#1qN zIjVyg>rmyJSiNL$oCpW)5B@;dkxaI|w`QT^Cj@MW&~Spvu{R7(U*2^5Js7;NNaLr= zIgR#ut-&RsF==m}3&@flUgO-8eipLuo<|c7$xg5*qm}v$*<2NsIHkxYt z?z`AjJD|njcnzEp-SmlHjIA5d9S1S8=X>J#pr5zKG3TUypkCk!*zdt^@?8(rf3;#+ z?SP8csldb>0X+PGw7u6_03LElKCI{$6r z>Lj~=z_$w9x%?Vbqd$SM_&&$aewY%Fd%#8fvpi+}6qKmWkPRA|0+QUCPYHWI(-6hS zo(PKT8Ln`9gS)ALHMreSx!~chyeM8*oBkj8{sq195;p$gbb8|;l>|Cc{0mRf4%+29 zLk@aW@PmonxPZ8za=QV`a8&4XtsIfIM-`fwvmb8Px!WeV-Dp4yfG=zuDFgEL(=Z*} zdW2gQu)g6|4z~(neb227ZY_iLGq;ksH4oNZZt1u+3zh=u92#!L!wTS*AGgNC3g*^e zJgm{MRE1`ke}man>+ZPJ5rDNf+iiqCGu?@eAQ=MDTgR)Qox=mWa)X$Y1 zXW-PK<%#N?TbYpFE$|+ zoUJ$|_<4g~w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