我正在使用包含DLL的可执行文件。对于我的测试用例,我将代码组合成一个可执行文件。我正在使用Visual Studio 2008和Boost 1.43。我试过研究这个,但还没有找到明确的答案。谢谢您的帮助。 在我main.h: #include <string>
//These are normally defined in a seperate DLL
typedef std::strin
之间沟通我有2类A和B. class A implements Constants{ private int state;
} class B implements Constants{
foo(){
//want to set state variable of class A like this
state = state1
}
}
interface Con