Run-Time Check Failure #3 - The variable

Run-Time Check Failure #3 - The variable 'workers' is being used without being defined.

Employee workers[Length]; // array of struct declared

initialize( workers[Length] );// funtion initilize for the variable menber passing the entired array
The second line passes a single element (outside the array, by the way), not the entire array.
Topic archived. No new replies allowed.