From 74b1f158f1a5d3216eeb4cb5d762af722acb1bac Mon Sep 17 00:00:00 2001 From: Zumh <17211423+Zumh@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:53:37 -0400 Subject: [PATCH] fix: remove the main function for testing --- exercism/hamming/hamming.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/exercism/hamming/hamming.c b/exercism/hamming/hamming.c index 7b4f9ce5f9..2166f589ac 100644 --- a/exercism/hamming/hamming.c +++ b/exercism/hamming/hamming.c @@ -11,21 +11,6 @@ */ -int computer(const char *lhgs, const char *rhs); - -int main(void) { - // Define two character arrays (strings) lhgs and rhs - const char* lhgs = "GAGCCTACTAACGGGAT"; - const char* rhs = "CATCGTAATGACGGCCT"; - - // Call the 'computer' function with lhgs and rhs as arguments and store the result in 'distance' - int distance = computer(lhgs, rhs); - - printf("%d\n", distance); - - return 0; -} - int computer(const char *lhgs, const char *rhs) { int distance = 0;