发布时间:2018-07-03 23:12:56
可重定位目标文件:File class:32-bit objectsData encoding:little endianversion:1OS ABI identification:0ABI version:0object file type:Relocatable filemachine:Intel 80386version:1Entry point virtual address:0x00000000Program header table file offset:0x00000000Section header table file of.........【阅读全文】
发布时间:2018-03-17 15:57:24
格式:1、设置背景颜色、字体颜色的方法:printf "\033[字背景颜色;字体颜色m 字符串 \033[0m" 例子:#!/bin/bash ##清空屏幕printf "\033[2J"##按照默认属性打印printf "\033[0mnone\n\033[0m"##黑色字体打印printf "\033[30mblack\n\033[0m"##红色.........【阅读全文】
发布时间:2016-03-20 22:54:46
1、 __attribute__ ((packed))的作用就是告诉编译器取消结构在编译过程中的优化对齐,按照实际占用字节数进行对齐,是GCC特有的语法。2、 __attribute__ ((aligned(n)))的作用就是告诉编译器在编译过程中按照n字节对齐。常常用来在结构体后面进行修饰。下面通过一段代码来进行测试点击(此处)折叠或.........【阅读全文】