ben*_*nkc 2 c++ g++
为什么g++给出这样的错误?
g++
blahblah.h:80:10: error: decomposition declaration not permitted in this context float[NUM_OUTPUTS] output_buffer;
(已经解决,但是创建它是因为该错误文本没有良好的Google匹配,并且错误消息难以理解。)
ben*_*nkc 7
在C ++声明中,数组大小位于变量名称之后,而不是类型之后:
float output_buffer[NUM_OUTPUTS];
归档时间:
8 年,1 月 前
查看次数:
1321 次
最近记录: