Help with constant dilemma

#include<stdio.h>
#include<string.h>
...
char types[MAXARRAYSIZE][8] = {"A", "a", "B", "b", "C", "c", "D", "d"};
...
do{
printf("\nEnter which Window type you want: 'A'-4mm Standard, 'B'-4mm Toughened, 'C'-6mm Standard, 'D'-6mm Toughened:\n");
scanf("%c\n", &types);
}while (types[count] = "A", "a", "B", "b", "C", "c", "D", "d");

this is the part of the function which i dont understand
the compiler says "error incompatible types in assignment"
i would really appreciate it if you would help me
scanf isn't c++, use single quotes instead of double quotes for the letters '' not "".
types[count] shouldn't work since you made it two dimensional.
Topic archived. No new replies allowed.