作者:Vamei 出处:http://www.cnblogs.com/vamei 欢迎转载,也请保留这段声明。谢谢!我们以下图为基础,说明Linux的架构(architecture)。(该图参考《 Advanced Programming in Unix Environment》)最内层是我们的硬件...
分类:
系统相关 时间:
2015-01-12 06:45:06
阅读次数:
346
【题目】
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 2D grid. Our valiant knight (K)
was i...
分类:
其他好文 时间:
2015-01-11 23:06:28
阅读次数:
429
Foundations of Python Network Programming Third Edition下载http://www.amazon.com/Foundations-Python-Network-Programming-Brandon/dp/1430258543这本书是2014年底出...
分类:
编程语言 时间:
2015-01-10 11:13:51
阅读次数:
729
/*
* kernel programming test code
*
* Copyright (C) 2014 Sun Mingbao
* Dual licensed under the MIT and/or GPL licenses.
*
*/
#include
#include
#include
#include
#include
#in...
分类:
系统相关 时间:
2015-01-10 10:07:06
阅读次数:
348
Life is a journey walked by ourselves, it‘s absolutely our decisions to make. But in order not to go awry in such a long run,we always need to remember something valuable. 1) Ration.Keeping rationa...
分类:
其他好文 时间:
2015-01-09 15:45:21
阅读次数:
169
题目:
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4...
分类:
编程语言 时间:
2015-01-09 14:23:26
阅读次数:
207
什么是面向对象?OOP:面向对象编程(Object Oriented Programming,OOP,面向对象程序设计)是一种计算机编程架构。OOP 的一条基本原则是计算机程序是由单个能够起到子程序作用的单元或对象组合而成。OOA:面向对象分析( Object-Oriented Analysis ,...
分类:
其他好文 时间:
2015-01-08 19:34:36
阅读次数:
174
今天看《程序设计语言概念》(Concepts of Programming Language),第七章“结合性”一节中有这么一段:某些计算机中的整数加法不具有结合性。例如,假设一个程序要计算“A + B + C + D”,其中A、C是很大的正数,B、D是绝对值很大的负数。在这种情况下,将B加到A并不...
分类:
其他好文 时间:
2015-01-08 17:36:55
阅读次数:
250
题目:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respectively...
分类:
编程语言 时间:
2015-01-08 15:29:48
阅读次数:
162
##Effective C++ Notes### Part I. Accustoming Yourself to C++####1. View C++ as a federation of languages- C++ is a multi-paradigm programming language...
分类:
编程语言 时间:
2015-01-08 02:06:23
阅读次数:
329