Hey! Just a note, this has been pulled from my old site so, while this site is being built, some things may not work correctly.
How To Convert a Blueprint Unreal Project to C++
Converting a Blueprint project to a C++ project is very easy to do. A lot of people don't realise how simple it is. However, this should be treated as a one-way thing due to dependencies and stuff. So make sure this is what you want to do before going ahead.
So to begin with, I'll assume you have Visual Studio or JetBrains Rider installed. Make sure to also have the C++ tools required to build the projects.
This is the most simple step. Go to File -> New C++ Class.
This will open a window where you can select the parent C++ class for your new class. Select what you want or just go with None. None will give you an empty class.
After choosing the parent class, continue through the menus until Unreal asks if you want to recompile now. You can select either yes or no. Don't be worried if it fails to compile for the first time though, it's a common thing that even I encounter nearly all the time. Just restart the editor and you'll be all good.
You may get an error when opening a freshly converted project, this error will tell you it couldn't be compiled. This isn't too much of a problem, just open the .sln file in either Visual Studio or Rider and compile from within there. This shouldn't happen on relatively empty projects but may happen if you already rely on some external plugins.