728x90 2D vector 초기화1 [C++] 1차원, 2차원 벡터 초기화 (1D 2D vector initialization) c++를 사용하다보면 sort() 등 지원을 해주기 때문에 vector 형태로 사용하는 경우가 많은데, vector 형태의 데이터를 초기화하는 다양한 방법들을 소개하도록 하겠습니다. 1D vector 초기화 아래의 포스팅을 참고하여 1차원 vector 초기화하는 방법 6가지를 정리하였습니다. www.geeksforgeeks.org/initialize-a-vector-in-cpp-different-ways/ Initialize a vector in C++ (6 different ways) - GeeksforGeeks A Computer Science portal for geeks. It contains well written, well thought and well explained computer sci.. 2021. 3. 17. 이전 1 다음 728x90