First I declared my overloaded function similar to this question and had the same error as there. I changed as the answer suggest, but still got this error:
[Error] 'std::ostream& Number::operator<<(std::ostream&, const Number&)' must take exactly one argument
Code:
    //numb.hpp   
    class Number {   
        public:
        .....    
        std::ostream &operator<<(std::ostream&, const Number&);  
    };  
    //numb.cpp  
    std::ostream& Number::operator<<(std::ostream &output, const Number &Num){
                output << "The integers this object stores are: " << Num.num << " and " << Num.num1;
                return output; 
             }
 
     
    