You can't use functions with a void return type with cout. You need to actually return something for it to output.
It looks like std::string would be the intended return type.
You can't use functions with a void return type with cout. You need to actually return something for it to output.
It looks like std::string would be the intended return type.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
Do I have to use typecasting to get a number displayed onto a string?
Or is there a better method?