摘要: #include #include //front push pop back push pop [] at() #include #include #include //remove using namespace std; void listTest() { int iArray[]={1,2,3,4,5,3,3,3,3,3,6}; list listInt(i... 阅读全文
posted @ 2017-02-15 19:37 sky20080101 阅读(182) 评论(0) 推荐(0)
摘要: set,E文翻译过来就是“设置”的意思,相当于数学里的“令”。 如:set X=5,就是令X=5的意思。 语法形式: SET [variable=[string]] SET /P variable=[promptString] SET /A expression 一、SET [variable=[s 阅读全文
posted @ 2017-02-15 13:40 sky20080101 阅读(2194) 评论(0) 推荐(0)
摘要: set 功能一览 [设置变量] 格式: set 变量名=变量值 或 set 变量名=%变量名% 详细: 被设定的变量以%变量名%引用[取消变量] 格式: set 变量名= 详细: 取消后的变量若被引用%变量名%将为空[展示变量] 格式: set 变量名 详细: 展示以变量名开头的所有变量的值[列出所 阅读全文
posted @ 2017-02-15 10:44 sky20080101 阅读(488) 评论(0) 推荐(0)
摘要: #include #include using namespace std; void Test(); void main() { int a[]={1,2,3,4,5}; vector v_a(a,a+5); vector v_b(v_a.begin(),v_a.end()); vector::iterator it; for (it=v_... 阅读全文
posted @ 2017-02-15 00:57 sky20080101 阅读(259) 评论(0) 推荐(0)
摘要: #include #include using namespace std; void main() { vector vInt; vInt.push_back(1); vInt.push_back(2); vInt.push_back(3); vInt.push_back(4); vInt.push_back(5); vector::... 阅读全文
posted @ 2017-02-15 00:41 sky20080101 阅读(419) 评论(0) 推荐(0)