请大神把C语言转化成C++ 要求用cin输入,cont输出 谢谢! #include<stdio.h> str

日期:2016-06-07 10:58:14 人气:1

请大神把C语言转化成C++ 要求用cin输入,cont输出 谢谢! #include<stdio.h> str

这是有多难,printf转cin, printf("请输入第%d个学生的学号:",i+1); ==> cout << "请输入第%d个学生的学号:"<<i + 1; scanf("%s",st[i].sno); ==> cin >> st[i].sno 其他的同例自己看着改,
    A+
热门评论