Liste des Groupes | Revenir à c arch |
On 01/09/2024 12:21, John Dallman wrote:Then you discover that the C++ string[] operator is not
bounds-checked, as per the C++ standard, but string.at()
is bounds-checked, and curse a bit.
But surely you would discover that before using the std::string
type? I might do some quick test code using "stuff copied off the
internet", but for any serious programming I would want to read the
specifications of a type or function before using it. That's the
only way to be sure you are writing correct code.
Les messages affichés proviennent d'usenet.