I am using Code::Blocks as my IDE and I am creating a text based game (Not very complex as I am just starting out with c++). As I proceed through this project I have found it more orderly to have multiple cpp files within a folder that relate(like two cpp files will have all of one header).
header HEADER -
void goesInAFile();
void goesInAnotherFile();
HEADER
OneCPPFile
void goesInAFile() {}
First cpp file
SecondCPPFile
void goesInAnotherFile() {}
Second cpp file
and OneCPPFile and SecondCPPfile go into a sub folder.
so its like
PROJ
-FILES
--header HEADER
--HEADER CPP FILES
---OneCPPFile
---SecondCPPFile