# How to properly create header file

**URL:** <https://forums.unrealengine.com/t/how-to-properly-create-header-file/157791>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [February 12, 2021, 8:02pm UTC](https://forums.unrealengine.com/t/how-to-properly-create-header-file/157791 "2021-02-12T20:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadaraAlmighty](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madaraalmighty/32/1122034_2.png) [@MadaraAlmighty](https://forums.unrealengine.com/u/MadaraAlmighty)\
**Post date:** [February 12, 2021, 8:02pm UTC](https://forums.unrealengine.com/t/how-to-properly-create-header-file/157791/1 "2021-02-12T20:02:00Z")

</div>

I’m making similar game like Action RPG by Epic. I wanted to use Gameplay Ability System. I created every class except header file “RPGTypes.h”. I don’t know how they created it. There’s no C++ file of it. When I attempted to create it in VS by Add New Item it just doesn’t generate RPGTypes.generate.h file although I tried to Regenerate vs project like many others on the web suggested. How to create this header file?

---

<div class="post-metadata">

**Author:** ![STRiFE.x](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/strife.x/32/969826_2.png) [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Post date:** [February 12, 2021, 9:06pm UTC](https://forums.unrealengine.com/t/how-to-properly-create-header-file/157791/2 "2021-02-12T21:06:09Z")

</div>

I don’t know how that project is structured, but creating header files for storing all the structs/enums of a system is a common thing people do. If you want to create one, you can select the “None” template when creating a new C++ class through the editor, or you can just add them through visual studio.
