1显示数据typedef struct { unsigned long int mL_data; unsigned long int L_data; unsigned long int M3_data;}water_date;extern water_date water_data1;2数据处...
分类:
其他好文 时间:
2015-01-16 12:57:11
阅读次数:
127
原网页链接
http://www.gnu.org/software/libc/manual/html_node/Directory-Entries.html
原文及翻译
混在一起写了
unsigned char d_type
This is the type of the file, possibly unknown. The following constants ar...
分类:
其他好文 时间:
2015-01-15 20:28:18
阅读次数:
500
#include #include #include #include #include #include "timers.h" typedef struct ListNode ListNode;typedef unsigned int uint;#define DSP_NUMBERS 6struc...
分类:
编程语言 时间:
2015-01-15 18:07:20
阅读次数:
240
位段(bit-field)是以位为单位来定义结构体(或联合体)中的成员变量所占的空间。含有位段的结构体(联合体)称为位段结构。采用位段结构既能够节省空间,又方便于操作。 位段的定义格式为: type [var]:digits 其中type只能为int,unsigned int,signed in.....
分类:
编程语言 时间:
2015-01-15 15:59:06
阅读次数:
238
#include #include #includetypedef struct ListNode ListNode;typedef unsigned int uint;struct ListNode { uint loop_count; int number; ListNode *next; Li...
分类:
其他好文 时间:
2015-01-15 12:24:13
阅读次数:
187
代码片断如下:unsigned char status;status = 0x01;// local zone{ unsigned char status; status = 0x00;}printf("status = %d\n", status);析:如果定义一个全局变量A,在局部区...
分类:
其他好文 时间:
2015-01-14 14:02:09
阅读次数:
223
CREATE TABLE `ecm_address` (
`addr_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
`consignee` varchar(60) NOT NULL DEFAULT '',
`region_id` int(10) u...
分类:
数据库 时间:
2015-01-13 23:18:10
阅读次数:
526
poll 与 select 很类似,都是对描述符进行遍历,查看是否有描述符就绪。如果有就返回就绪文件描述符的个数将。poll 函数如下: #include int poll(struct pollfd *fdarray, unsigned long nfds, int timeout) ...
分类:
系统相关 时间:
2015-01-13 21:26:48
阅读次数:
209
-- SPtb LIBRARY ieee; USE ieee.std_logic_1164.ALL; USE IEEE.STD_LOGIC_ARITH.ALL; USE IEEE.STD_LOGIC_UNSIGNED.ALL; use std.textio.all; use ieee.std_log...
分类:
其他好文 时间:
2015-01-13 15:45:59
阅读次数:
211
malloc的全称是memory allocation,中文叫动态内存分配,当无法知道内存具体位置的时候,想要绑定真正的内存空间,就需要用到动态的分配内存。下面具体介绍一下malloc函数,,希望帮助大家了解。一、原型:extern void *malloc(unsigned int num_b.....
分类:
其他好文 时间:
2015-01-12 16:02:24
阅读次数:
120