This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS6.0初始化结构体问题



struct Node
{
int data;//转速值
unsigned int timeCount;//计时计数
int riseFallIndex;//方向 -1:下降 0:不变 1:上升
Node()
{
data = 0;
timeCount = 0;
riseFallIndex = 0;
}
};

这个初始化没通过?请问怎么初始化