|
3115| 5
|
关于结构体的 视频的 投票系统的实现出了问题 |
|
1鱼币
最佳答案这个是修改后的代码,希望能对你有帮助。
#include
#include
struct count
{
char name[20];
int score;
};
void main()
{
count str[4] =
{
{"Yogurt",0},
{"Sugar",0},
{"Swallow",0},
{"LELE",0},
};
count *p = str;
char ch[50];
int i,j;
printf("欢迎参加投票!\n");
printf("有以下的人参加投票:\n");
printf("Yogurt,Sugar,Swallow,LELE\n");
for (i=0 ; i < 1 ...
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
|
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2026-2-14 17:27
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.