将C风格的语句改为C++ printf("\n 用户编号: "); printf("%d", ret[i].G_num); printf("\n 用户姓名: "); printf("%s", ret[i].G_Name); printf("\n 用户电话: "); printf("%ld", ret[i].iphone); printf("\n 用户余额: "); printf("%f", ret[i].balance);
时间: 2023-07-19 20:50:50 浏览: 82
手把手教你实现printf.7z
cout << "\n 用户编号: " << ret[i].G_num;
cout << "\n 用户姓名: " << ret[i].G_Name;
cout << "\n 用户电话: " << ret[i].iphone;
cout << "\n 用户余额: " << ret[i].balance;
阅读全文