Learning how to manage memory, both manually and with methods like RAII, is an integral part of programming with C++. Even if you have a GC that you're ok with using, about 99.99% of the C++ code in existance doesn't use a GC.