case 1:
cout<<\"1\";
break;
case 2:
cout<<\"2\";
break;
하면 문제 없는데
case 1:
char temp;
int i = 1;
int buf;
temp = arr[0][7];
cout<<temp;
for(i=1; i<32; i++){
if(temp>arr[0][i]){
buf = temp;
temp = arr[0][i];
arr[0][i] = buf;
}
}
break;
case 2:
cout<<\"2\";
break;
}
이렇게 하면 에러나
어디가 문제인걸까???
우선 저 arr 배열이 어떻게 선언된 건지 봐야 알듯싶네요..