上一页 1 ··· 4 5 6 7 8

[leetcode]Next Permutation

摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl... 阅读全文
posted @ 2015-01-27 22:17 aituming 阅读(173) 评论(0) 推荐(0) 编辑

[leetcode]Generate Parentheses

摘要: Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))... 阅读全文
posted @ 2015-01-22 20:07 aituming 阅读(132) 评论(0) 推荐(0) 编辑

链式队列的实现

摘要: QueueNode.htemplate class LinkQueue;templateclass QueueNode{private: friend class LinkQueue; friend ostream& operator& q); //函数要访问QueueNode的私有... 阅读全文
posted @ 2015-01-22 12:06 aituming 阅读(234) 评论(0) 推荐(0) 编辑

ATT 汇编语法

摘要: 在研华的pc104上使用看门狗要使用汇编。使用汇编来修改CMOS里面的参数。也就是内联汇编。linux下gcc只支持ATT汇编。所以这儿有必要将ATT语法学习学习。以后需要的时候翻出来温习温习。1,操作数的长度 操作数的长度用加在指令后的符号表示 b(byte, 8-bit), w(word, 16... 阅读全文
posted @ 2014-11-27 15:52 aituming 阅读(2405) 评论(0) 推荐(0) 编辑

深入理解计算机系统 第二章答案

摘要: http://rooftrellen.com/blog/computer-systems-a-programmers-perspective-chapter-2-homework-problem/ 阅读全文
posted @ 2014-11-26 19:40 aituming 阅读(503) 评论(0) 推荐(0) 编辑

android 设计工具栏

摘要: 设计工具栏Action Bar(订制工具栏类型) 工具栏给用户提供了一种熟悉和可预测的方式来执行某种动作和操纵应用程序,但是这并不意味着它就需要和其他的应用程序看起来一样的。如果想设计工具栏以使得它能更适合产品的商标,使用android的style和theme资源可以很容易做到点。 androi... 阅读全文
posted @ 2014-07-08 19:22 aituming 阅读(408) 评论(0) 推荐(0) 编辑

Android 加入一个动作按钮

摘要: 在XML中声明一个动作按钮所有的动作按钮和其他的可以利用的items都定义在menu资源文件夹中的XML文件中。为了增加一个动作按钮到工具栏,需要在工程 /res/menu/ 目录下面创建一个新的XML文件。对每个需要添加的item增加一个元素包含到工具栏中,例如res/menu/main_acti... 阅读全文
posted @ 2014-07-08 09:17 aituming 阅读(561) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8