gpt4 book ai didi

c++ - VS2013 宏在哪里定义

转载 作者:搜寻专家 更新时间:2023-10-31 01:01:03 24 4
gpt4 key购买 nike

我正在使用 Visual Studio 2013 并想使用 C++ Eigen 库 ( these ) 中的一些宏,但我不知道如何使用。我找到了 this stackoverflow question ,但他们的解决方案不适用于 VS2013。

编辑 - 答案:

我链接的问题已经得到用户@Cam Jackson 的回答。其实我并不知道Property Manager(View -> Other windows -> Property Manager)和项目的“右键-> Properties”不是一回事。我引用了答案:

'User Macros' will only display under 'Common Properties' if the property sheet that you're editing is specific to the project/solution! So what you need to do is open the Property Manager window in VS, right-click on your project and add a new property sheet. Then right-click->Properties on the newly created sheet, and you will now see the 'User Macros' option underneath 'Common Properties'! Hope that helps :)

最佳答案

我链接的问题已经得到用户@Cam Jackson 的回答。其实我并不知道Property Manager(View -> Other windows -> Property Manager)和项目的“右键-> Properties”不是一回事。我引用了答案:

'User Macros' will only display under 'Common Properties' if the property sheet that you're editing is specific to the project/solution! So what you need to do is open the Property Manager window in VS, right-click on your project and add a new property sheet. Then right-click->Properties on the newly created sheet, and you will now see the 'User Macros' option underneath 'Common Properties'! Hope that helps :)

关于c++ - VS2013 宏在哪里定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29843255/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com