Did you generate your project correctly & open it or did you just create a cpp file via new file?
You should have access to the engine files from the UE folder