Unreal 4.23 unable to build C++ tutorial code

This will always happen to you. Now you have to add the specific header of most types that you use in each cpp you make. Previously they used a header include that implicitly included many modules. Now you include what you need.