when ever am trying to compile it, i get an error message
 unresolved external symbol "void __cdecl showarray(int * const,int)"
am not sure what i am doing wrong? what should I do, my code looks like this
#include<iostream>
#include<string>
using namespace std;
void sortArray(int [], int );
void showarray(int [],int );
int main(){
    int endtime[10] = { 70, 38, 8, 101, 11, 127, 313, 14, 16, 127 };
    cout << "unsorted" << endl;
    showarray(endtime, 10);
    sortArray(endtime, 10);
    cout << "the sorted value are :" << endl;
    showarray(endtime, 10);
    return 0;
}
void sortArray(int array[], int size){
    bool swap;
    int temp;
    do{
        swap = false;
        for (int count = 0; count < (size - 1); count++){
            if (array[count] > array[count+1]){
                temp = array[count];
                array[count] = array[count + 1];
                array[count + 1] = temp;
                swap = true;
            }
        }
    } while (swap);
}
void showarray(const float array[], int size){
    for (int i = 0; i < size; i++)
        cout << array[i] <<" "<< endl;
}
 
     
     
    