Can't create C++ Project but can create Blueprint Project

If the plugin is enabled in the project, you should be able to disable it by right-clicking the .uproject file and editing it with a text editor such as Notepad. You should see an entry for the plugin listed with “Enabled : True” underneath it. Change the true to false, save the file and then right-click the .uproject again to Generate Visual Studio Project Files. This will cause it to regenerate the .sln file without including the plugin.

After that completes, try building the project again. You can either just double click the .uproject and it’ll try to build for you or you can open the .sln and choose Build > Build Solution from the top of Visual Studio.