본문 바로가기
C++/0x02-boost

boost 라이브러리 사용하기 ][ vector 사용하기

by SpeeDr00t 2019. 3. 27.
반응형

boost 라이브러리 사용하기 ][ vector 사용하기

test해보기 : https://wandbox.org/permlink/HAlsd7CG0AacvV2U 

 

[Wandbox]三へ( へ՞ਊ ՞)へ ハッハッ

 

wandbox.org

#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main(int argc, char** argv)
{
vector<string> vs{};
vs.push_back("blackfalcon1");
vs.push_back("blackfalcon2");
for( auto & it : vs )
cout << it << endl;
return 1;
}
view raw vector.cpp hosted with ❤ by GitHub

 

vector 사용하기

반응형