Hey guys I got it!!!!! Thank you so much for your times! I am including a link below for everyone for lunch. FREE IHOP lunch.
Type: Posts; User: kevave
Hey guys I got it!!!!! Thank you so much for your times! I am including a link below for everyone for lunch. FREE IHOP lunch.
I did and I am getting this
gcc: lm: No such file or directory
Yes. I did do the math.h Could you look at my code and see if you can fix it??
Descrition: Implement a menu managing array data such that the program asks multiple questions to the user...
How can I "Have you told the linker to link with the math library?" can you show me? using the code? I added the lm at the end and says no such as file exits
I am getting this error when want to compile.
/tmp/ccmvPe9e.o: In function `stdData':
problem.c:(.text+0x56b): undefined reference to `sqrt'
collect2: ld returned 1 exit status
It gives me this error
gcc: lm: No such file or directory
What do you mean? Can you copy my code and fix it and explain where is linker and sqrt error?
Where to add the "-lm"??? this is my gcc -->>> gcc problem.c -o problem.exe
This is my code and when I gcc it it won't let me and gives me these below errors.
Code below the error I am getting trying to compile it
/tmp/ccgjEovl.o: In function `stdData':...
This is my code and when I gcc it it won't let me and gives me these below errors.
Code below the error I am getting trying to compile it
This is the error I am getting
tmp/ccS5besW.o: In...
I fixed it again and its still not working. ;(
#include <stdio.h>
#include <conio.h>
#include <cstdlib>
double simpson(double a, double b, int n);
double fk(double x);
I am trying to use the Simpson's Method to calculate area under the curve using this function 2x^2+x but its not working?
Can some one help me and fix the problem? Its using Simpson's Method and...
well, I added the * between 2 and (x*x) and ran the program again. I am still not getting the answer. I entered 2 for a then 3 for b then 5 for n and I got the answer 14.68 but I have 15.something...
Thats the only one? or I am wrong in the whole calculation?
I am trying to write a program in Putty that using Trapezoidal rule that reads a,b and N then calculates approx area for this function f(x)= 2x^2 +x
I wrote the blow program but its wrong cuz I...
Hi, I wrote that program but its wrong when I calculate it by hand. What else should I do? anything missing?
/* trapezoid.c */
include <stdio.h>
include <math.h>
float f(float);
float a;...
I am new to C programming. Anyone has the code for this problem below or how to do it?
I am trying to write a program in Putty that using Trapezoidal rule that reads a,b and N then calculates...