I'm just about finished with my assignment, but I am getting the following error:

[Linker Fatal Error] Fatal: Illegal VIRDEF fixup index in module

My assignment is:

The purpose of this assignment is for you to compile and build a simple C++ application for sorting an array of String objects. You are required to implement both the Selection Sort Algorithm and the Binary Search Algorithm.

I had the entire program running up to the point where I had to search the list of words and definitions... The following is the code for the definition of the function that is causing the error... does anybody have any idea what the error might be?

I will post the code in its entirety if that would help.Code:int SearchWord(String A[], String& Key, int N) // Purpose: This function will search for the position of the // Key stored in array A. It uses the steps of the // BinarySearch algorithm. { // Initialize the indices Low and High. int Middle; int Low = 0; int High = N -1; // While Low is not greater than High, search for a match. while ( Low <= High ) { // Determine the middle of the table. Middle = (Low + High) / 2; // Check if the middle array element has a key that // matches Key. if( Key == A[Middle]) return Middle; else // Determine which half of the array to search. if( Key < A[Middle]) High = Middle - 1; else Low = Middle + 1; } return ( -1 ); }