Hey, if i understand it right, classes are "datatypes" of objects, right? But how is the sdt::cout working? Isn't it a class?
No, namespace members are accessed using :: Example: <namespace>::<member>
cout is an object belong to std namespace... More info here https://en.cppreference.com/w/cpp/io/cout
Or why i access it with “::“ and not with "."?
std:: is a namespace.
So this isnt a class?
Ok thank you 😉