Unreal Engine 5.7 Released

Yeah, that’s literally what the second sentence of the post I link states…:

But realistically, you likely don’t have VS set up correctly. Here’s the documentation on how to do that correctly, along with the correct versions for everything:

Here’s a link on how to add a C++ class to a project. It also specifically states “This converts a content-only project into a code project” and shows you step by step what to do:

https://dev.epicgames.com/documentation/en-us/unreal-engine/managing-game-code-in-unreal-engine#c++classwizard