struct information// À½¾Ç Á¤º¸¸ðÀ½ {char name[20]; char difficulcy[20]; char artist[20];}// (1) ÀÌ·¸°Ô ¼±¾ð 헀À»¶§ Á¤º¸¸¦ ÀúÀåÇÏ·Á¸é struct information s1; s1.name = ~~; strcpy(s1.difficulty,"~"); ÀÌ·¸°Ô ³Ö¾îÁà¾ß Çϴµ¥(1)ÀÚ¸®¿¡ test_1,test_2; ÀÌ°É ºÙ¿´À»¶§ test_1,test_2;»ç¿ë¹ýÀ» Àß ¸ð¸£°Ú½À´Ï´Ù.{{¿£ÅÍ°¡ ¾ÈµÇ¿ä....}}
struct information {
char name[20];
char difficulty[20];
char artist[20];
};
struct information s1;
strcpy(s1.name,"~~");
strcpy(s1.difficulty,"~");
À§Ã³·³ strcpy ¸¦ ½á¾ßÇÑ´Ù.
±×·±µ¥, test_1, test_2: ÀÌ°Å´Â ¹«½¼ À̾߱âÀÎÁö ¸ð¸£°Ú´Ù.
Á¤¼ºÈÆ