在c++里面不得不提的一個標準庫,就是STL,STL包含很多實用的數(shù)據(jù)結(jié)構(gòu),如vector,list,map,set等都是我們常用的,而c++11也對STL做了一些補充,使得STL的內(nèi)容越來越豐富,可選擇的也越來越多了。1. std::array先看一段代碼:1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include <array> #include <iostream> ...
www.dbjr.com.cn/article/1878...htm 2025-6-8