I can't get this to work!
the error-implicit declaration of function 'int getarray(...)'
Code:#include <iostream.h> #include <stdlib.h> #include <string.h> #define MAX 15 #define TAB /t int main() { char array[MAX]; int showall; array[MAX]=getarray(); for(showall=0; showall < MAX; showall++) { cout << array[showall-1]; cin.get(); } system("PAUSE"); return 0; } void getarray(char x) { cout << "Enter an array"; cin >> x; }