Dear friends:
i define a function "funtion1", i put the declaration in the "funtion1.h"
#ifndef FUNTION1_H_INCLUDED
#define FUNTION1_H_INCLUDED
#include <stdio.h>
#include <stdlib.h>
double funtion1(double ,double );
#endif // FUNTION1_H_INCLUDED
and write the function body in the file "funtion1.c"
The following is my main file, but when i compile it in codeblock, it gives me some error message " undefined reference to funtion1", what is your suggestions.
#include "funtion1.h"
int main()
{
double aa,bb;
aa=4.5;
bb=5.4;
funtion1(aa,bb);
return 0;
}