C: raindrops

This commit is contained in:
2021-08-12 12:24:38 +02:00
parent 6e9a77168e
commit 58d81e96a6
6 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#ifndef RAINDROPS_H
#define RAINDROPS_H
char *convert(char result[], int drops);
/* See GNUmakefile below for explanation
* https://github.com/braoult/exercism/blob/master/c/templates/GNUmakefile
*/
#if defined UNIT_TEST || defined DEBUG
#include <stdio.h>
#include <stdlib.h>
#endif
#ifdef TESTALL
#undef TEST_IGNORE
#define TEST_IGNORE() {}
#endif
#endif