/* Author: Clare Quarman * Date: Sat 8th Nov 2003 * Purpose: (1) rewriting of quprog.f as C++, therefore... * (2) practice calling fortran functions & routines from C++ */ #include #include #include #include #include "QCDnum.cpp" using namespace QCDnum; using namespace FortranIO; using std::cout; using std::endl; using std::string; double xgluons(double x){ double result = 1.01*pow(x,-0.35)*pow((1.0-x),5.22); cout << "xgluons \t" << result << endl; return result; } double xquarks(double x){ return 1.01*pow(x,-0.35)*pow((1.0-x),5.22); } int main(){ //-1- initialisation cout << "1" <