I was wondering if someone could help me link referenceable cpp files so that building a text based RPG can be more organized and not a wall of code. An example of some quick coding would be really appreciated!
Without knowing what you have, it's really hard to make suggestions.
Is your code object oriented? Doesn't sound like it.
What are the primary characteristics of your game?
Do you have any classes in your game? If not, why not?
If you do, is each class organized into its own .h and .cpp file?