我在C語言中使用struct
時出現問題。
這很奇怪!
我無法使用course
結構在student
結構。
我已經定義過,但是... 爲什麼?在另一個結構中使用一個結構c
struct course
{
int no;
char name[30];
int credits;
float score;
};
struct student
{
int no;
char name[50];
course c[3];
};
我的語言Ç沒有C++
「我的語言是C不是C++」我敢打賭,如果它是C++,你就不會問這個問題:-) – dasblinkenlight
這是功課? – octopusgrabbus