自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

程序猿

让漫天繁星在指尖随心闪耀

  • 博客(60)
  • 资源 (1)
  • 收藏
  • 关注

原创 begin assembly language

入门教程,编译和链接的指令。

2011-03-11 11:18:00 1111

转载 关于逻辑门电路的好文

Logic gate circuit, not, and, or, and add...

2011-03-03 07:19:00 709

原创 Build Linux Kernel

<br />make mrproper<br />make menuconfig<br />make dep<br />make clean<br /> <br />---------------------<br />make bzImage<br />make modules<br />---------------------<br />上面这两步现在可以直接make,具体参考make时候提示。<br /> <br /> <br />make modules-install<br />mkinitrd

2011-01-27 10:14:00 928

翻译 Inter-process Communication:Pipes

We use the term pipe to mean connecting a data flow from one process to another.Perhaps the simplest way of passing data between two programs is with the popen and pclose functions:#include FILE *popen(const char *command, const char *open_mode);int

2011-01-08 12:31:00 880

转载 Introduction to device driver

As a programmer, you are able to make your own choices about your driver, and choose an acceptable trade-off between the programming time required and the flexibility of the result. Thought it may appear strange to say that a driver is "flexible," we like

2011-01-05 11:51:00 838

原创 Signal

A signal is an event generated by the UNIX and Linux systems in response to some condition, upon receipt of which a process may in turn take some action. We use the term raise to indicate the generation of a signal, and the term catch to indicate the

2010-12-29 06:05:00 1358

翻译 Thread

Multiple strands of execution in a single program are called threads. A more precise definition is that a thread is a sequence of control within a process. There is a whole set of library calls associated with threads, most of whose names start with pthrea

2010-12-26 01:42:00 760

原创 Process

The UNIX standards, specifically IEEE Std 1003.1, 2004 Edition, defines a process as "an address space with one or more threads executing within that address space, and the required system resources for those threads." We can regard a process as just a pro

2010-12-26 01:07:00 823

翻译 Debugging tools

辅助调试的一些工具,静态的,动态的。

2010-12-21 05:29:00 1980

原创 Debugging with gdb

使用-g选项来在编译后的程序中加入调试信息。 gcc -g -o debug debug.c 然后就可以启动gdb进行调试了。gdb debug 一些常用的命令:help               帮助信息run (r)            运行程序cont (c)          继续运行step (s)         步进到下一行(遇到函数会

2010-12-20 08:27:00 1483

翻译 Debugging - Instrumentation - Use macro

使用C++宏定义来方便的决定的在编译后的程序中是否包含调试代码。

2010-12-20 05:19:00 856

转载 Julia set

<br />The set of points whose orbit are bounded creates what is called the filled in Julia set for the number *(whaterver number here for *).<br /> <br />The Julia set for a+bi is all those starting points whose iterations are bounded.

2010-12-11 11:08:00 1761

转载 算法分析

Insertion sort...A[1,2,...,n]for j i key while i > 0 and key > A[i]A[i+1] i A[i+1] Running time:Depends on input(e.g. already sorted)Depends on input sizeparameterize things in the input, time = f(input), so the time is a function of inputWe want the time

2010-11-25 15:13:00 725

原创 c++的template中的class和typename

template(模板)是一些函数或者类,这些类中有一些参数的类型没有指定,需要运行时确定。比如:template const T& max(const T& a, const T& b){return a > b ? 其中T在调用这一函数的时候指定。T可以命名为其他变量,但是习惯上命名为T。T的类型被分类为class(类),但是T也可以不是一个class,上面的例子可以是int等基本类型,更进一步上来说T可以是提供了template中使用的方法的类型,比如重载了运算符的类。上面的class一般

2010-06-02 20:59:00 1288

原创 跟踪eip和esp

本文为张银奎老师《代码调试》一书中关于的栈实验,记录下照猫画虎的学习过程。代码:int __stdcall Proc(int n){ int a=n; printf("A test to inspect stack, n=%d,a=%d.",n,a); return n*a;}int main(){return func(1);}汇编如下:

2010-05-13 23:55:00 2308

原创 Qt中从.ui文件生成.h文件

// 此main函数的作用是将Qt designer设计的好的// 界面的ui文件生成.h文件#include #include // 文件格式名为 ui_***.h 其中***为ui文件的名字部分// 例如 a.ui 的头文件为 ui_a.h#include "ui_dictationtexteditor.h"int main(int argc, char* argv[]){    QAppli

2010-03-01 23:28:00 6788 1

转载 ISS的一个问题

ISS不能启动,报错 发生意外错误0x8ffe2740。查看端口,apache把80端口占了,在服务里面关掉,然后启动ISS,搞定。

2008-11-02 14:57:00 957

原创 VC常见错误的解决

在用vc写一个openGL程序,把遇到的个把恶心问题记下来,以备查阅。1.从“size_t”转换到“[unsigned] int”,可能丢失数据       把项目属性->配置属性->C/C++的 检测64位可移植性问题 改为 否。2.不能将参数 * 从“[const] char [255]”转换为“LPCWSTR”       把项目属性->配置属性->常规的 字符集 改为 使用多字节字符集。3

2008-09-25 17:00:00 2273

转载 可用性

…… 人们欣赏的是来自其内在的品质特性,比如可用性,通用性和有效性。这些目标要通过深思熟虑的计划、对用户需求的敏感、专注的需求分析和勤奋的测试才能达到。 …… 我们共同的愿望与承诺是建立一个以人为本,具有包容性和面向发展的信息社会。在这个信息社会中,人人可以创造,获取,使用并分享信息和知识,使个人、社区和各国人民均能充分发挥各自的潜力,促进实现可持续发展并提高生活质量。这一信息社会以《联合国宪章》

2008-06-12 22:04:00 758

转载 正则表达式

把必须匹配的情况考虑周全并写出一个匹配结果符合预期的正则表达式很容易,但把不需要匹配的情况也考虑周全并确保它们都将被排除在匹配结果以外往往要困难的多。

2008-06-11 22:42:00 729

简单校园博客系统asp.net

校园博客系统,实现基本功能,写日志,添加标签,友站管理,上传,下载文件==

2008-09-19

空空如也

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

TA关注的人

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