C++小坑汇总

 

std::vector::end, 是构想的下一个push_back位置,并不实际指向vector中任何元素。

Returns an iterator referring to the past-the-end element in the vector container. The past-the-end element is the theoretical element that would follow the last element in the vector. It does not point to any element, and thus shall not be dereferenced.

 

printf("\r\033[K)清除当前行

posted @ 2018-03-24 16:49  xbit  阅读(113)  评论(0编辑  收藏  举报