宏定义放在/usr/inlucd
时间: 2023-08-24 07:07:37 浏览: 151
mac下/usr/local/bin No such file or directory问题解决
引用\[3\]: /usr/include是放置一些头文件的目录,头文件通常包含宏定义、函数声明等。宏定义是在编程中用来定义常量、函数或代码片段的符号。它们可以提高代码的可读性和可维护性。在/usr/include目录下,你可以找到许多系统和第三方库的头文件,这些头文件中包含了各种宏定义。所以,如果你想使用宏定义,可以将宏定义放在/usr/include目录下的适当头文件中。
#### 引用[.reference_title]
- *1* *3* [Linux 基础知识 /bin,/sbin,/usr/sbin,/usr/bin 目录 区别详解](https://blog.csdn.net/misayaaaaa/article/details/102310267)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [linux下启动Nacos报错解决:which: no javac in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/...](https://blog.csdn.net/sl1990129/article/details/109720906)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文