I was reading my C++ book for class, but it didn't tell how, or why const was used in this case:
Thanks!Code:bool String:: operator!() const {
return length == 0;
}
Edit: Excuse the space between ":: operator" I had to put it there or the BB thought I was trying to use a smiley. lol