ç®æãããã°ã©ãã¼ï¼ã«ããããã å½ãµã¤ãã¯ãã¡ãã«å¼ã£è¶ãã¾ããã ãææ°ãããããã¾ãããä¸è¨ãµã¤ãã¸ã移åãã ããã¾ãã
ç®æãããã°ã©ãã¼ï¼ã«ããããã å½ãµã¤ãã¯ãã¡ãã«å¼ã£è¶ãã¾ããã ãææ°ãããããã¾ãããä¸è¨ãµã¤ãã¸ã移åãã ããã¾ãã
vector00.cppããsourceã // ãµã¤ãºãæå®ãã¦ã¤ã³ã¹ã¿ã³ã¹ã®çæ // vector<int> iVec( N ) ; vector01.cppããsourceã // vectorã®æå¾ã«ã¢ã¤ãã 追å (push_back) // åçé åã®ä½é¨ vector02.cppããsourceã // vectorã®æå¾ã«ã¢ã¤ãã 追å (push_back)ãã¦åé¤(pop_back)ãã¦ã¿ã // åçé åã®å æ¸ãä½é¨ vector03.cppããsourceã // è¦ç´ ã®åç §ã« iterator ã使ç¨ã // STL ã§ã¯ ã³ã³ããã®å 容ãæ±ãéã« iterator ã使ç¨ãã¾ãã vector04.cppããsourceã // vector ã® clear( ) // vectorã®size ã 0 ã«ãªãã¾ãã vector05.cppããsourceã // i
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}