最新回答 / Dragon223
main函数的大括号错了。#include<iostream>#include <stdio.h>struct pupil{ int maths; int english;};int main(){ struct pupil pup[50]; pup[20].maths = 95; pup[20].english = 93; std::cout << pup[20].maths << std::endl; ...
2025-04-11