myType는 구조체입니다.
struct myType {
int x;
int y;
char* name;
}
그리고 다음과 같이 myType형의 배열을 선언하고 값을 동시에 할당했는데, 컴파일 에러가 발생합니다.
myType mydata[15]={{10,30,"김훤칠"},{110,120,"Goal"},{250,235,"Target"},{335,380,"Guest"},{444,490,"Ring"},{555,580,"Chick"},{660,680,"Tick"},{724,750,"Cloud"},{860,867,"CCL"},{990,980,"Beside Us"},{1102,1020,"Go"},{1130,1135,"Fight"},{1250,1280,"Shot"},{1340,1369,"Fire Up"},{1490,1456,"Walk"}};
어디가 잘못된 건가요?