#include #include #include #include #include void main() { char str[80]; while(strcmp(fgets(str, 80, stdin),"\n")!=0); // 212 is ' // 213 is ` int x=15, y=15; char array[20][20]; int num = 1; for (int i = 0;i='A') { array[i][j] = tmp; if (j!=y-1) cin.get(); // cout << "Adding " << tmp << endl; // cout << "(" << i << "," << j << "(" << endl; } else { array[i][j] = 0; } if (j!=y-1) tmp = fgetc(stdin); } } int j; /* for (i =0;i\n")!=0); int down; char tmp; tmp = cin.get(); char clueanswer[100][2][50]; int capos = 0; char clue[80]; while(true) { char tmp; while(isspace(tmp = fgetc(stdin))); if (tmp == EOF) break; int pos = 0; clue[pos++] = tmp; while((clue[pos++] = fgetc(stdin))!='\n') if (clue[pos-1]==-105) clue[pos-1] = '_'; clue[--pos] = '\0'; if (strcmp(clue,"")==0) down = capos; else strcpy(clueanswer[capos++][0], clue); // printf("%s\n",clue); } int a = 0, b = 0; int count = 0; for ( int i =0;i