自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 64位系统指针对齐

MSDN中的一段话:On 64-bit Windows, if a data structure is misaligned, routines that manipulate the structure, such as RtlCopyMemory and memcpy, will not fault. Instead, they will raise an exception. For

2015-08-16 22:58:10 954 1

转载 Ubuntu下adb安装

参见http://blog.csdn.net/lindonghai/article/details/37597101

2015-07-26 15:09:09 222

原创 ubuntu14.04 root用户登录方法

如果你是刚刚装完ubuntu14.04系统,你进去后是以普通用户登录的,很多操作并没有权限,要想获得全部权限可以以root用户登录1、先解除root锁定,为root用户设置密码打开终端输入:sudo passwdPassword: Enter new UNIX password: Retype new UNIX password: passwd:已成功更新密码输入sud

2015-07-17 19:26:34 3870

原创 脚本拷贝编程

拷贝是工作中经常要遇到的问题,脚本文件可以方便的实现拷贝功能,从而解放程序员windows环境下拷贝:新建一个.bat文件后,将如下代码复制进去,即可实现:1. 创建名为firmware的文件夹2.将当前目录下的txt文件拷贝到firmware文件夹下@ECHO OFFmd firmwarecopy /y *.txt firmwarePAUSE

2015-04-26 15:11:48 536

转载 linux shell编程

http://www.cnblogs.com/xuqiang/archive/2011/04/27/2031034.html

2015-04-26 14:38:26 243

转载 Opengl开发环境配置

windows下安装:安装GLUT工具包GLUT不是OpenGL所必须的,但它会给我们的学习带来一定的方便,推荐安装。 Windows环境下的GLUT下载地址:(大小约为150k) http://www.opengl.org/resources/libraries/glut/glutdlls37beta.zip(看到后面带beta就不舒服....不知道最新版是哪个,

2015-03-12 18:33:19 270

转载 container_of()宏

在学习Linux驱动的过程中,遇到一个宏叫做container_of。该宏定义在include/linux/kernel.h中,首先来贴出它的代码:/** * container_of - cast a member of a structure out to the containing structure * @ptr:        the pointer to the

2014-12-08 17:14:59 224

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除