Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by smtuttle at Thu Dec 2 14:28:07 PST 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
signature: get_double_at : double* -> double
purpose: expects a pointer to a double value
and produces the double value being pointed to
Examples:
double *wt_ptr;
double wt;
wt = 18.9;
wt_ptr = &wt;
get_double_at(wt_ptr) == 18.9
--------------------------------------------------*/
double get_double_at(double* dbl_ptr)
{
return *dbl_ptr;
}