I\'m very new to C++, and I was wondering if there was a way to make a min heap in C++ from the standard library.
You can use std::make_heap, std::push_heap, and others directly, or you can use a std::priority_queue built on a std::vector or similar.
std::make_heap
std::push_heap
std::priority_queue
std::vector
The std::*_heap methods are in , and the std::priority_queue template is in .
std::*_heap