|
按照《EVC高级编程及其应用开发》的实例写了一个串口。
程序中有这样一句:
private:
CCESeries m_ceSeries; //定义串口类
编译时就出现错误,显示:
error C2146: syntax error : missing ';' before identifier 'm_ceSeries'
error C2501: 'CCESeries' : missing storage-class or type specifiers
error C2501: 'm_ceSeries' : missing storage-class or type specifiers
请教诸位,问题出在那里,如何修改?
|
|