已采纳回答 / leekunhwee
printf("%s\n,%d\n",weapon_1.name,++weapon_1.atk); 改为 printf("%s\n %d\n",weapon_1.name,++weapon_1.atk); 即可
2016-10-25