⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vec_6528.htm

📁 C++标准库 C++标准库 C++标准库 C++标准库
💻 HTM
📖 第 1 页 / 共 2 页
字号:
   max_element (vec_five.begin(), vec_five.end());cout &#60;&#60; "maximum is " &#60;&#60; *where &#60;&#60; endl;</PRE><CENTER><TABLE BORDER CELLSPACING=3 CELLPADDING=3><TR VALIGN=top><TD><B><I>Purpose </I></B><BR></TD><TD> <B><I>Name </I></B><BR></TD></TR><TR VALIGN=top><TD>Fill a vector with a given initial value <BR></TD><TD><SAMP>fill</SAMP><BR></TD></TR><TR VALIGN=top><TD>Copy one sequence into another <BR></TD><TD><SAMP>copy</SAMP><BR></TD></TR><TR VALIGN=top><TD>Copy values from a generator into a vector <BR></TD><TD><SAMP>generate</SAMP><BR></TD></TR><TR VALIGN=top><TD>Find an element that matches a condition <BR></TD><TD><SAMP>find</SAMP><BR></TD></TR><TR VALIGN=top><TD>Find consecutive duplicate elements <BR></TD><TD><SAMP>adjacent_find</SAMP><BR></TD></TR><TR VALIGN=top><TD>Find a sub-sequence within a vector <BR></TD><TD><SAMP>search</SAMP><BR></TD></TR><TR VALIGN=top><TD>Locate maximum or minimum element <BR></TD><TD><SAMP>max_element, min_element</SAMP><BR></TD></TR><TR VALIGN=top><TD>Reverse order of elements <BR></TD><TD><SAMP>reverse</SAMP><BR></TD></TR><TR VALIGN=top><TD>Replace elements with new values <BR></TD><TD><SAMP>replace</SAMP><BR></TD></TR><TR VALIGN=top><TD>Rotate elements around a midpoint <BR></TD><TD><SAMP>rotate</SAMP><BR></TD></TR><TR VALIGN=top><TD>Partition elements into two groups <BR></TD><TD><SAMP>partition</SAMP><BR></TD></TR><TR VALIGN=top><TD>Generate permutations <BR></TD><TD><SAMP>next_permutation</SAMP><BR></TD></TR><TR VALIGN=top><TD>Inplace merge within a vector <BR></TD><TD><SAMP>inplace_merge</SAMP><BR></TD></TR><TR VALIGN=top><TD>Randomly shuffle elements in vector <BR></TD><TD><SAMP>random_shuffle</SAMP><BR></TD></TR><TR VALIGN=top><TD>Count number of elements that satisfy condition <BR></TD><TD><SAMP>count</SAMP><BR></TD></TR><TR VALIGN=top><TD>Reduce vector to a single value <BR></TD><TD><SAMP>accumulate</SAMP><BR></TD></TR><TR VALIGN=top><TD>Inner product of two vectors <BR></TD><TD><SAMP>inner_product</SAMP><BR></TD></TR><TR VALIGN=top><TD>Test two vectors for pair-wise equality <BR></TD><TD><SAMP>equal</SAMP><BR></TD></TR><TR VALIGN=top><TD>Lexical comparison <BR></TD><TD><SAMP>lexicographical_compare</SAMP> <BR></TD></TR><TR VALIGN=top><TD>Apply transformation to a vector <BR></TD><TD><SAMP>transform</SAMP><BR></TD></TR><TR VALIGN=top><TD>Partial sums of values <BR></TD><TD><SAMP>partial_sum</SAMP><BR></TD></TR><TR VALIGN=top><TD>Adjacent differences of value <BR></TD><TD><SAMP>adjacent_difference</SAMP><BR></TD></TR><TR VALIGN=top><TD>Execute function on each element <BR></TD><TD><SAMP>for_each</SAMP><BR></TD></TR></TABLE></CENTER><HR><A HREF="vec_8165.htm"><IMG SRC="images/prev.gif"></A> <A HREF="booktoc1.htm"><IMG SRC="images/toc.gif"></A><A HREF="tindex1.htm"><IMG SRC="images/tindex.gif"></A><A HREF="boo_0584.htm"><IMG SRC="images/next.gif"></A><P>&copy;Copyright 1996, Rogue Wave Software, Inc.</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -