// tinyutils2.h // declares the structures and functions // defined in tinyutils2.cc using namespace std; struct Dvector { double *v ; // the vector itself int low; int high; } ; // don't forget the semicolon in the structure definition // memory management int allocate( Dvector &a , int low, int high ) ; void freeDvector ( Dvector &a ); // printing void printDvector( Dvector &b , int style=0 ) ; // Default parameter values (such as 'style=0') // must be specified in the declaration. // maths double square( double a ) ;