Setting up headers, functions etc.
Hi, I'm fairly new to c++. I'm scratching my head a bit about how I need to have my project setup to work the best way. Like where to put includes, function prototypes and definitions in order for my whole program to be able to use them.
Right now my program consists of several .cpp files with a lot of functions and one header file with a few inline functions. Alll of the .cpp files are using #include on the header file and the header file itself has many includes. This makes it not very efficient since that means a lot of code is duplicated in each .cpp file.
Any tips about how to set things up to work efficiently?