I need to save a variable kbs or even mbs of plain text, so I want to know how many characters can fit in a standard string (aka std :: string plus a string library).
Thank.
std::stringhas a member function max_size()that returns the maximum length std::stringin this implementation.
std::string
max_size()
It depends on your implementation. Try calling std :: string :: max_size () and find out.
Source: https://habr.com/ru/post/1777254/More articles:Smart GWT how to select an item in ComboBoxItem - gwthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1777250/convert-post-parameters-to-hash-in-ruby-without-rails&usg=ALkJrhiH6D4-ojZBHPC_9m2Zjw9xApZ9SAjQuery: Drag & Drop Image В текстовое поле разместить тег в тексте - jqueryjquery drag image attribute into text box - jquerySilverlight/С# изображение не найдено обработка исключений - c#Image upload exception fixed - silverlightA variable created on the heap, 2 pointers pointing to the same variable have different addresses? - c ++Autocomplete jquery UI - selectfirst extension - jquery-uicmake: default includes the path in unix - include90-degree rotation of a 2-dimensional array - arraysAll Articles