Thanks all for the help...

Workin'...
John Carson wrote:
> "Someonekicked" <> wrote in message
> news:k72dnVqjWfdGrb3eRVn-
> > template<class T>
> >
> > class blah
> >
> > {
> >
> > public:
> >
> > blah();
> >
> > void foo(double x);
> >
> > void moo(T x);
> >
> > private:
> >
> > T items;
> >
> > };
> >
> > template<class T>
> >
> > blah<T>::blah()
> >
> > {
> >
> > }
> >
> > void blah<double>::foo(double x)
> > {
> > cout << x << endl;
> > }
>
> The above function definition should be
>
> template<>
> void blah<double>::foo(double x)
> {
> cout << x << endl;
> }
>
> i.e., you should precede it with template<>
>
>
> >
> > template<class T>
> >
> > void blah<T>::moo(T x)
> >
> > {
> >
> > cout << x << endl;
> >
> > }
> >
> >
> >
> > The following will work
> >
> > void main()
> >
> > {
> >
> > blah<double> y;
> >
> > y.foo(23);
> >
> > }
>
> main should return int --- and some compilers will insist on it.
>
>
>
> --
> John Carson