User Profile
Collapse
-
Many thanks! I really benefit from this code. However, I was wondering if that was safe. Could you please tell me?...Leave a comment:
-
-
In C++, a `std::string` does not have a fixed size because it’s a dynamic object that manages memory internally to store character data. The size of the string object itself (the metadata like pointers, length, capacity, etc.) is typically a few bytes depending on the compiler and system architecture, but the actual character data is stored separately on the heap and can grow as needed. Similarly, `enum` types usually take the size of an `int`,...Leave a comment:
No activity results to display
Show More
Leave a comment: