Need help with compiler for c++

hi, please don’t judge me for asking such a base level question but i’m kinda new to coding and need help with compiler for c++. i started with vscode and had downloaded mingw for c++ and it worked fine but after sometime i changed my pc and had to reinstall vscode and the compiler but this time the compiler was not working properly for classes in c++. After after almost 20+ videos on how to fix it, it still wasnt working so i decided to go for codeblocks still i faced the same issue of classes not being debugged.
so i need help with wether i should download dev 5.11, dev 6.3 or vscode with msys2 as compiler for c++

Well, the C++ template on Replit comes with it already installed, so you could just use that.