bootyburglar
08-28-2003, 10:49 AM
Hello everyone, im new (as if you cant tell), im having a tuff time understanding what the following statement does;
friend ostream &operator<<(stuff......);
i understadn how to overload operators, and the friends of a class, but what im confused about is the<-- &--> reference operator, what is it doing in there, how would i read this statement to understand its purpose in this line of code (and any other line). I usually use it with pointers (duh), but now its sorta "standalone", please help :-)
friend ostream &operator<<(stuff......);
i understadn how to overload operators, and the friends of a class, but what im confused about is the<-- &--> reference operator, what is it doing in there, how would i read this statement to understand its purpose in this line of code (and any other line). I usually use it with pointers (duh), but now its sorta "standalone", please help :-)