Quantcast
Channel: MSP 低功耗微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 3634

数组元素需要输入的时候怎么写?

$
0
0

串口输入两个数A,B,新建一个含B个A的数的数组,请问在430的编程里怎么实现呢?谢谢大家?

int x;

int y[x]这样的我试了,编译没有错误,烧写进单片机里就卡死在这里了。谢谢


Viewing all articles
Browse latest Browse all 3634

Trending Articles