VC++ 错误总结

来源:互联网 发布:vatic windows 编辑:程序博客网 时间:2024/05/16 08:33


warning C4100: 'a' : unreferenced formal parameter

Example:
void foo( int a )
{// Do something useful not involving a}

This can be changed to:
void foo( int )
{// Do something useful not involving a}

Or:
void foo( int /*a*/ )
{// Do something useful not involving a}


使用vector时候的 error C2143 

那是忘了加上:

using   namespace   std;


编译器错误 C2460

类A的成员变量不可以是类型A,但是可以是这个类型的指针