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.
我正在 Open Office 中扩展自动完成功能。它需要连接到数据库来获取单词。我使用代码块来编写代码,但它使我的 sql 头文件出现问题。如何配置代码块以包含 mysql 头文件?有没有其他选择?终端代码的步骤是什么?
如果你有
#include <some_sql_header.h>
在您的代码中,您需要告诉编译器它在磁盘上的位置。 您可以使用 /I 开关(用于包含路径)或进入 code::blocks IDE 并将路径添加到project build | search directories | compilertba。
project build | search directories | compiler