I'm out of advice other than try: gcc cuberoot.c -o cuberroot -lm ...
Otherwise, hopefully someone more knowledgeable can help you...
Type: Posts; User: symf
I'm out of advice other than try: gcc cuberoot.c -o cuberroot -lm ...
Otherwise, hopefully someone more knowledgeable can help you...
I had these error calls of not finding math functions. "-lm" did the trick with me. Not sure why your compiler doesn't find the source file at all?...
I can't see you trying the "-lm" in your command line where you compile.
Did you try that?
just a not on the code: I've never seen (doesn't mean it's not possible) writing 'return (0);'. Write...
with some compilers you have to explicitly link the math.h library. e.g: gcc -o main.exe main.c -lm
problem solved.
I was blind for the last couple of days from the free* nrutil.c memory allocation/freeing functions I was dealing with a lot recently.
'brewbuck' + 'vart': quite rightly, fopen()...
Hello, I'm getting the following message in gdb:
Program received signal SIGSEGV, Segmentation fault.
0x400cc1ce in _IO_flush_all () at genops.c:825
825 genops.c: No such file or directory.
in...