P value from lffff function in C++

I am beginner of C++, any help will be appreciated.
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stdio.h"
#include "lffff.c"
#include "lbeta.c"
#include "lgaml.c"
#include <iostream>
using namespace std;

main(){
  double P1=lffff(304.94,17,18);
  std::cout << "P-value =" << std::endl;
  std::cout << P1 << std::endl; 
  system("pause");
}


While, compiler error will occur, lffff.c( and lbeta.c and lgaml.c ): No such file or directory.
Just like the compiler told you: No such file or directory.
Check if you have put the files in the same directory of your source code.

Besides, normally we don't #include a .c or .cpp file, we #include their corresponding .h files.
thank you, I have got it.
Topic archived. No new replies allowed.