最新回答 / Dragon223
main函數(shù)的大括號(hào)錯(cuò)了。#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