C++ project file structure: how to organize files in subfolders?

I would split it up into

Game (instance, state, modes)
Characters
Systems (inventory, stats etc)
Ui (widgets)
Items (power ups, consumables)
Audio (sfx, music)
Library (static libs)

And inside if you have structs, enums or interfaces then put them in their own subdirectories

It changed depending on the type of project.
It’s also rather subjective.

3 Likes