I don't think it's correct to characterize the C++ hello world as using object-orientation or even templates. There's no template syntax in it, for example.
It does use that one predefined object std::cout and its overloaded operator. But other than that plus namespaces, it's not using features that aren't available in C.
I disagree that it uses most features of the language, at least not in any direct or visible way. There are a lot of features it doesn't use.
It does use that one predefined object std::cout and its overloaded operator. But other than that plus namespaces, it's not using features that aren't available in C.
I disagree that it uses most features of the language, at least not in any direct or visible way. There are a lot of features it doesn't use.