which part of overloading the << operator are you having
trouble with?
your prototype could be something like this :
std::ostream& operator<<(std::ostream& os, Real<T>& real);
Reputation Points: 840
Solved Threads: 594
Senior Poster
Offline 3,864 posts
since Dec 2008