經安全檢測,此網站為安全網站,請放心前往原始網址!

c++ - How can I solve error C2059: syntax error : 'string ...

2012年2月3日 - You can't initialize bu in the class declaration. Is this what you want? class Bar { public: Foo *bu; Bar() { bu = new Foo("adfds"); } };. Edit. As pointed out ...

stackoverflow.com

網址安全性掃描由 google 提供