I need an example of what to do when I am trying to connect three .cpp into one. I have read everything and I am confused. example code would be great! What I have is a generic .cpp that contains common data, then one .cpp the allows user to enter in information, and the third all choices have been preselected. I can not figure out how to pull those functions from each of the .cpp and display the data on the third? Please HELP! Thanks in advance!
Declare every function that's needed in a different .cpp in a .h header. Include these headers in every .cpp that needs the functions contained in them (to include headers specific to a project use #include "", which will include files in the the current directory).
If you're using an IDE, create a new project and add every file to it. If you're using something like the GNU building environment directly (which I doubt you are) there's an entirely different process I must admit not to know.
That should be about it.