Closed djaenecke closed 8 years ago
Well, your compiler is paranoid and wants me to explicitly check the return value of scanf
each time (which has its merit, mind you).
Then it has problems linking, and that has something to do with your libraries.
What platform are you on? Are you by chance using a C++ compiler to compile it?
I can whip up a quick fix for scanf
, but the log
issue is probably on you.
Ok, I also found about the log
issue, you probably have an old compiler.
I'll fix them both in a couple hours.
Fixed (hopefully).
Thanks for fixing that fast!
It did, however, still not work with my default gcc (4.8.4); but using gcc-5.4 I managed to compile the code.
Thanks a lot!
Seems you are right, gcc 4.8.4 (Ubuntu 14.04) likes to complain a lot.
I've fixed all the remaining issues, thanks for reporting.
Hi,
when trying to compile your code I get
Any idea how to resolve this?
Thanks…