摘要:gcc - include - 具体位置: 一、gcc - C - 头文件的具体位置 1、 查找命令:[root@rockylinux tmp]# gcc -xc -E -v - 2、 c-include的位置: [root@rockylinux tmp]# gcc -xc -E -v - #inc
阅读全文
07 2022 档案
摘要:LAMP 环境搭建(LAMP, L=Linux, A=httpd(apache), M=MariaDB, P=PHP) 一、操作系统 1、openeuler: Linux openeuler 5.10.0-60.18.0.50.oe2203.x86_64 二、lamp环境安装 1、[root@ope
阅读全文
摘要:c:struct之匿名struct 一、代码: /* * gcc11.1(c17) * */ #include <stddef.h> #include <stdio.h> // 定义常规struct和指针struct typedef struct { // 匿名struct的定义 struct{ c
阅读全文
摘要:c: macro define 复杂的宏定义 一、源码 [root@rockylinux tmp]# cat macro_define.c /** * 宏命定义的注意事项: * 1、带有参数的宏,参数使用时需要写在"()"之中,这样在宏展开时不会改变设计时的运算级别,保证结果正确; * 举例:#de
阅读全文
摘要:c: setjmp.h 库的使用 一、代码 [root@rockylinux tmp]# cat setjmp.c /* longjmp example */ #include /* printf */ #include /* jmp_buf, setjmp, longjmp */ int main
阅读全文
摘要:c:c语言数字转化为字符串以及指向三维数组的指针 [root@rockylinux tmp]# cat pointer_array.c [root@rockylinux tmp]# cat pointer_array.c /* date: 2022-07-01 * * * 知识点:数字转化为字符串:
阅读全文
摘要:os-kali: kali - 配置网络和网络源 一、网络配置(nic := network interface card) ┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]└─$ ls 'Wired connection 1' ┌─
阅读全文