What is the meaning of STD in C++ 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at Apple, Lives in Cupertino. Holds a degree in Electrical Engineering from Stanford University.
"std" a namespace. The "::" operator is the "scope" operator. It tells the compiler which class/namespace to look in for an identifier. So std::cout tells the compiler that you want the "cout" identifier, and that it is in the "std" namespace.
2023-05-08 06:48:32
评论(499)
Helpful(122)
Helpful
Helpful(2)

Lily Gonzales
QuesHub.com delivers expert answers and knowledge to you.
"std" a namespace. The "::" operator is the "scope" operator. It tells the compiler which class/namespace to look in for an identifier. So std::cout tells the compiler that you want the "cout" identifier, and that it is in the "std" namespace.