arthur.r...@gmail.com wrote in
news:5256ed6a-f810-4d96...@googlegroups.com:
> I may be missing something obvious, but the following code compiles
> for me, but gives an unspecified linker error.
We are not chiromancers here, please include the error message.
> Decimal.hpp
>
> #ifndef DECIMAL_HPP
> #define DECIMAL_HPP
> #include <iostream> // for cout and cin [not yet implemented]
> #include <vector>
> class Decimal {
[...]
> friend ostream& operator<< (ostream& os, Decimal s) ;
Should be std::ostream, there is no using directive.