if i wanted to put all my includes inside of one file, so that i could access them all in one line, would i have to use a .cpp or .h file?
also could this create problems? like would there be any problem with wasting memory if i included stuff in all my files, even thought i might only need it in one or two? and could including a file from the file itself cause problems? (like including player.h, from the player.h or player.cpp files themself)
i hope to god that made some sense...i suck at explaining haha.
if i wanted to put all my includes inside of one file, so that i could access them all in one line, would i have to use a .cpp or .h file?
You will have to use .h file to do that.
also could this create problems? like would there be any problem with wasting memory if i included stuff in all my files
There would be no problem other than that your exe file will become much much larger. (so yes, your intention is not recommended)
could including a file from the file itself cause problems?
Yes, in some cases it may cause problems like for example mutiple defined symbols.
i hope to god that made some sense...i suck at explaining haha
I'll tell you the secret that will work the best way.
If you use visual studio (not sure for other IDE's) you can use precompiled headers.
A precompiled header is a special header designed to "hold" all the headers compiled only once, those are headers that are changed infrequently but used frequently.
That way you may speed up your compilation time.
Precompiled header must be included into every source file, otherwise it will not work.