Void Function problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lostmountainman
    New Member
    • Oct 2006
    • 5

    #1

    Void Function problem

    I gotta void function that is taking two string files from the main function and inputting it into the main function....the line of code that keeps showing up as errors is: scanner1(name1, name2)
    scanner2(name1, name2)
    scanner3(name1, name2)

    these are in the main function and the error message i keep getting is saying that the void functions cannot take 2 arguments. How do i allow this to work
  • tirivamwe
    New Member
    • Oct 2006
    • 8

    #2
    can you please write the full code

    Comment

    • arne
      Recognized Expert Contributor
      • Oct 2006
      • 315

      #3
      Originally posted by lostmountainman
      I gotta void function that is taking two string files from the main function and inputting it into the main function....the line of code that keeps showing up as errors is: scanner1(name1, name2)
      scanner2(name1, name2)
      scanner3(name1, name2)

      these are in the main function and the error message i keep getting is saying that the void functions cannot take 2 arguments. How do i allow this to work
      Isn't this the same question as you have asked in

      http://www.thescripts. com/forum/thread553317.ht ml

      ?

      Comment

      Working...