人到中年有点甜
#include <iostream>using namespace std;int main(){long number;char name[50];int class_;cout << "请依次输入学号、姓名、班级(例子:000007 张三 3),以空格分隔:\n";cin >> number >> name >> class_;cout << "姓名:" << name << endl << "学号:" << number << endl << "班级:" << class_ << endl;return 0;}