如何在C语言写的项目中加入C++写的类。高手帮忙!!!
我对VC不太熟。以前有一个用C写的项目,现在想将一些C++写的代码整合进去。我直接加入工程后出现编译错误:
E:\Monitor_test\comm.h(14) : error C2061: syntax error : identifier 'Comm'
E:\Monitor_test\comm.h(14) : error C2059: syntax error : ';'
E:\Monitor_test\comm.h(15) : error C2449: found '{' at file scope (missing function header?)
E:\Monitor_test\comm.h(28) : error C2059: syntax error : '}'
请问各位大虾。如何改才能工作量最小。