摘要: 这两个函数都包含在algorithm库中。STL提供了两个用来计算排列组合关系的算法,分别是next_permutation和prev_permutation。 一、函数原型 首先我们来看看这两个函数的函数原型: next_permutation: 1 template< class BidirIt 阅读全文
posted @ 2014-03-18 22:21 南哥的天下 阅读(407) 评论(0) 推荐(0)