From b7002c53057d4ae049237786d26f00a762dbc2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= Date: Tue, 16 Mar 2021 13:01:32 +0100 Subject: Updated names in standalone/ to match new lab numbering. --- src/standalone/upg7/debug.c | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/standalone/upg7/debug.c (limited to 'src/standalone/upg7/debug.c') diff --git a/src/standalone/upg7/debug.c b/src/standalone/upg7/debug.c deleted file mode 100644 index d6a3707..0000000 --- a/src/standalone/upg7/debug.c +++ /dev/null @@ -1,27 +0,0 @@ -#include - -int main() -{ - char str[] = "sihtgubed"; - char *stri = &str[8]; - char *buf[9]; - char **bufi, **bufend; - bufi = buf; - bufend = &buf[9]; - - while (bufi != bufend){ - *bufi = stri; - bufi++; - stri--; - } - - while (bufi != buf){ - *(*bufi) -= 32; - bufi--; - } - - while (bufi != bufend){ - printf("%c", **bufi); - bufi++; - } -} -- cgit v1.2.1