[C++]fill(), fill_n()fill 헤더 #include <algorithm> 정의 template<class ForwardIt, class T> void fill(ForwardIt first, ForwardIt last, const T& value); 범위(first와 last) 안의 원소를 value로 채운다. fill_n 헤더 #include <algorithm> 정의 temp2024. 3. 15.C++#cpp#algorithm#fill#filln