Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1485275
  • 博文数量: 129
  • 博客积分: 1449
  • 博客等级: 上尉
  • 技术积分: 3048
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-24 18:36
文章分类

全部博文(129)

文章存档

2015年(3)

2014年(20)

2013年(65)

2012年(41)

发布时间:2013-01-15 14:06:11

/*----------------------------------------------------------------------------------------实现功能: 开启3个线程,这3个线程的ID分别为A、B、C,每个线程将自己的ID在屏幕上打印10遍,要求输出结果必须按ABC的顺序显示,如ABCABC....依次递推。#编译和运行gcc -lpthread -o thread1 thread1.c./thread1#调.........【阅读全文】

阅读(1094) | 评论(0) | 转发(0)

发布时间:2013-01-11 08:18:12

一、一般用法 我们使用#把宏参数变为一个字符串,用##把两个宏参数贴合在一起. 用法: #i nclude #i nclude using namespace std; #define STR(s)     #s #define CONS(a,b)  int(a##e##b) int main() {     printf(STR(vck));           // 输出字符串"vck"&nb......【阅读全文】

阅读(995) | 评论(0) | 转发(0)

发布时间:2013-01-11 07:52:02

下载地址?
http://pan.baidu.com/share/link?shareid=192105&uk=1577556057
1. VC6 写USB HID Debug, 界面如下:......【阅读全文】

阅读(1378) | 评论(0) | 转发(0)

发布时间:2013-01-09 08:01:07

2个文件, 参考 uboot中的代码1. ctype.h 点击(此处)折叠或打开#ifndef _LINUX_CTYPE_H#define _LINUX_CTYPE_H/* * This ctype does not handle EOF like the standard C * library is required to. */#define _U    0x01    /* upper */#define _L    0x02 ......【阅读全文】

阅读(1964) | 评论(0) | 转发(0)

发布时间:2013-01-06 10:09:40

官方FTP下载:  ftp://ftp.denx.de/pub/u-boot/目录树 |--board|--common|--cpu|--disk|--doc|--drivers|--dtt|--examples|--fs|--include|--lib_arm|--lib_generic|--net|--post|--rtc|--tools 2. board:和一些已有开发板有关的文件. 每一个开发板都以一个子目录出现在当前目录中,比如说: leopard2a子目录中存放与我们开发板相关的配置文件.3. common:实现uboot命令行下支持的命令,每一条命令......【阅读全文】

阅读(813) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册