jmbl49
06-16-2009, 01:39 PM
I've constructed a driver for sphcirc.h and saved it as sphcirc.cpp.
#include "nr3.h"
#include "pointbox.h"
#include "sphcirc.h"
int main()
{
/*
I've figured out WHAT "Point" is and can safely say that I have a center for my sphere:
/*
Point<3> cent(0,0,0);
/*
And naturally, the radius is simple enough so I've added that to my int Main() as well:
*/
Doub rad = 21;
/*
Now ... can someone please direct me to correctsville with respect to initializing Sphcirc:
*/
... Sphcirc(cent, rad) ... (VS8.0: error C2955: 'Sphrcirc : use of class template requires template argument list )
Save me?
#include "nr3.h"
#include "pointbox.h"
#include "sphcirc.h"
int main()
{
/*
I've figured out WHAT "Point" is and can safely say that I have a center for my sphere:
/*
Point<3> cent(0,0,0);
/*
And naturally, the radius is simple enough so I've added that to my int Main() as well:
*/
Doub rad = 21;
/*
Now ... can someone please direct me to correctsville with respect to initializing Sphcirc:
*/
... Sphcirc(cent, rad) ... (VS8.0: error C2955: 'Sphrcirc : use of class template requires template argument list )
Save me?