how do you get multiple source files to run one after the other?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phillis2013
    New Member
    • Jan 2012
    • 14

    how do you get multiple source files to run one after the other?

    i am trying to run multiple source files but right after the first one finishes running the program closes and doesnt move on
  • firexfighterx
    New Member
    • May 2012
    • 14

    #2
    After looping through your file you need to close the file reader, clear it and reopen the next one. Since each file a different read object. If you use the same reader for all you need to close and clear. Or you can have multiple file readers. But not two readers to the same file.

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      You don't run source files, you compile them into an object file. Then you link 1 or more object files into an executable file and then you can run the executable file.

      Please explain more clearly what it is that you are trying to do.

      Comment

      Working...