Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在窗户上工作。如何在 VS 项目中包含 CDS 库?我找不到“include”目录,也找不到“lib”目录。
http://libcds.sourceforge.net/doc/cds-api/index.html
它似乎是一个只有标题的库,只需将它放在一个文件夹中并在该文件夹中添加一个包含目录,其中包含 Visual Studio Properties->VC++ Directories->Include Directory,然后您所要做的就是
Properties->VC++ Directories->Include Directory
#include <FolderWhereCDSIsAt\allocator.h>
或者
#include <FolderWhereCDSIsAt\cache_line.h>