Please don't consider C++ to be dangerous, you only need caution while programming to avoid memory leaks it's not like every software developed using C++ has memory leaks. And thanks