I need to return taxes paid and net pay by pass referencing a gross pay overloaded function. Are the values returned from calling the overloaded function file stream objects? Can they be passed simply through a pass-by-reference function?
//Read Data from File, gather info and calculate pay, output data to file
Thank you! I'm having an issue where the program will not recognize 'gross' when I try to pass it through void calculate_net_pay(gross). I'm not sure what I'm doing wrong.
Error might be coming from here - if this is the function definition, you're missing the type to the left of gross in the parenthesis. And you wouldn't need the semicolon after the right parenthesis after gross.