Hello,
I've learnt a bit more C since I posted the last code review thread, so I've decided to rewrite the Mystery Word application, this time using strings, pointers and pointer arithmetic, and dividing the program into files (I've only got three of those).
I've also created a very basic makefile for it, which compiles the program using GCC.
As far as I've tried it, the program works fine, except for the fact that I've included the mword.c
file within the main.c
file, as I kept getting an undefined symbol
error which I couldn't solve. Therefore, I'd appreciate any help regarding this problem. Other than that, I'm afraid the code might be poorly written, so any feedback, as well as tips on improving it, would be awesome.
Thanks in advance!