Translations of this page?:

resize

Syntax:

    #include <string>
    void resize( size_type size, char val = char() );

resize() 関数は現在の文字列を”size”の長さに変更します。 引数”val”で、新たにできた空間を埋める文字を指定できます。

resize() の実行時間は、線形時間です。

Related Topics: capacity, size

 
• • • SitemapRecent changesRSScc