I recently stumbled across this amazing free e-book that teaches you how to use Blueprint as well as how to write the same Blueprint logic in C++! This guide is completely up-to-date with Unreal Engine 5 Preview 1. And it is extremely detailed. This book shows you how to install Unreal Engine 5, how to setup visual studio. It goes from how to print "hello world" from a print string node in Blueprint, to how to write the actual syntax in C++.
This is another site that will require a translation extension to your web browser. But I highly recommend checking this book out, as it is the most up-to-date guide on Unreal Engine 5 Blueprint to C++ that is also currently FREE.
https://zenn.dev/posita33/books/ue5_starter_cpp_and_bp_001/viewer