Displaying 1 result from an estimated 1 matches for "testdoublemultipl".
2006 Mar 13
1
Help on interfacing C++ with R
...;X.cpp, X_main.cpp"
is somewhat too simple. Here is my code:
//lib4R.h testing for interfacing C++ with R -- using C++ library in R
#include <iostream>
using namespace std;
class lib4R {
public:
lib4R();
~lib4R();
int testIntDivision(int, int);
double testDoubleMultiplication(double, double);
int getID();
void setID(int);
private:
int ID;
};
// lib4R.cpp : Defines the entry points for the library.
#include "lib4R.h"
lib4R::lib4R() {
cout << "Constructor lib4R()" << endl;
}
lib4R::~lib4R() {...