|
|
input(a, &array); // remove the &
template <class T> void input(int a, T *array[])
// sending the array via * or [] is the same thing, but dont have both. Remove the *cin>>*array[i]; // remove the *
cout<< *array[i]; // remove the *
main(){ // should int main()