mardi 25 septembre 2018

Error Message "expected expression" ....Anyone know why it is saying that?

int InsertByValue(int array[], int & array_size, int value)
{

    int desired_index;
    int InsertByIndex;

  desired_index = BinarySearch(array[],array_size, value, index,0, array_size - 1);

    InsertByIndex(array[], array_size, desired_index, value, desired_index);
};

/* 
it is saying that for desired_index; and InserByIndex; 
No idea why it would be saying that. Anyone know?
*/

Aucun commentaire:

Enregistrer un commentaire