can someone please comment on what i may be doing wrong here? i am
overloading input and output operators and keep getting this error.
here are the code snipets, thanks
friend ostream & operator <<(ostream & outs, const big_int &
source){
outs << source.get_b1() << " " << source.get_b2() ;
return outs;
}
friend istream & operator >>(istream & ins, const big_int &
target){
ins >> target.big_int1 >> target.big_int2 ;
return ins;
}
overloading input and output operators and keep getting this error.
here are the code snipets, thanks
friend ostream & operator <<(ostream & outs, const big_int &
source){
outs << source.get_b1() << " " << source.get_b2() ;
return outs;
}
friend istream & operator >>(istream & ins, const big_int &
target){
ins >> target.big_int1 >> target.big_int2 ;
return ins;
}
Comment