Having used both over the years. I personally like visual studio more. But that is more nostalgia than it being objectively better. VSCode has tons of very nice plugins for formatting and coding things up nicely. VSCode does have a fairly steep memory overhead though. But if you have enough it is not that big of a deal. I like visual studio more as the default install is fairly robust and has everything you need to be a productive windows programmer. VSCode is more plug and play and you need to find the right set of plugins to make it happy for c/c++ coding. There are plenty of tutorials on what you need out there. But once you do it is is fine too. They are both free so I would say grab both and give them a try and see what you like.