So, I'm pretty new to Unreal Engine and C++. I was following the C++ Tank vs Zombies tutorial on YouTube, but on the 3rd video
I started to run into a problem. In my Gun.h class, I started to get an error on my #include "Gun.generated.h" class. It says: Cannot open source file "Gun.generated.h".

I thought it was because of the "class AIceGirl" underneath it, so I commented that out and compiled the project again. But now I'm getting this error and I have no idea what it means.

Here's the code of the Gun.h class:

I started to run into a problem. In my Gun.h class, I started to get an error on my #include "Gun.generated.h" class. It says: Cannot open source file "Gun.generated.h".
I thought it was because of the "class AIceGirl" underneath it, so I commented that out and compiled the project again. But now I'm getting this error and I have no idea what it means.
Here's the code of the Gun.h class:
Comment