C++

[C++] 라이브러리 별 함수 정리

yisj 2023. 9. 16. 10:16
라이브러리 네임스페이스 함수 / 메서드 / 심볼 예시
iostream std cout, cin, rand, endl  
string std    
vector   push_back, back, pop_back, begin, end, empty vector<int>
array   size, fill, empty, at, [], front, back array<int, 3>
algorithm   sort  
time.h   time srand(time(NULL))
memory   unique_ptr unique_ptr<int> p{new int};
unique_ptr<int[]> p{new int[10]};
unique_ptr<타입>p{초기값};
math.h   M_PI  
stdlib.h   abs  
stdio.h   scanf, printf  

 

'C++' 카테고리의 다른 글

Windows에 gcc 설치하기  (0) 2023.11.08
[C++] vector 정리  (0) 2023.09.16
[C++] 연산자 정리  (0) 2023.09.16
[C++] 생성자 정리  (0) 2023.09.16
[VSCode C++] Undefined symbols for architecture arm64:  (0) 2023.09.16