Hey, im creating a "mini-dictionary" for birds, and I have realized that only a certain number of word/defines are allowed. How can I extend the limit? Heres the outline of my code without the several defenitions(There are as of now 38 word/def, but I only showed one):
Code:#include <iostream> #include <stdlib.h> #include <string.h> #define maxWord 38 int main(int argc, char *argv[]) { char* word[maxWord]; char* def[maxWord]; char tmp[100]; char test; char name1[50]; char input; word [0] = ""; def [0] = ""; for (int i = 0; i < maxWord; i++) { if(strcmp(tmp, word[i]) == 0) cout << def[i]; } system("PAUSE"); return 0; }