0

I have this problem Symbol 'A' could not be resolved in file B.h , I'm using Eclipse IDE for C/C++ Developers:

//B.h file

#ifndef __B_H__
#define __B_H__

#include "A.h"



class B:  public cs::A{

};

#endif

that include A.h file:

//A.h file

#ifndef A_H_
#define A_H_
namespace cs{
class A {


};
}

#endif

What I'm missing here ?

4

1 回答 1

1

代码没有错。很可能您的包含路径不正确。

#pragma message ("Parsing A.h")
于 2012-05-05T12:05:55.920 回答