From bd7b98c2aac8fdfd128aff832c663d60d3374d63 Mon Sep 17 00:00:00 2001 From: Benedict Date: Thu, 3 Mar 2016 21:49:01 +0100 Subject: reorgantzied code into libaray file For every task you may create a new file and implenet the task there by using functions from the lib.c file. Added Makefile for the different tasks. --- task6.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 task6.c (limited to 'task6.c') diff --git a/task6.c b/task6.c new file mode 100644 index 0000000..d807b69 --- /dev/null +++ b/task6.c @@ -0,0 +1,21 @@ +#include "lib.h" + +void main() +{ + FILE *fp; + int keysize; + + + // data come on stdin (base64 decoded already) + + for(keysize=2; keysize < 40; keysize++) { + char *string1 = malloc(keysize+1); + char *string2 = malloc(keysize+1); + + //while(fscanf(fp, "%n" + + free(string1); + free(string2); + + } +} -- cgit v1.2.3-70-g09d2