码迷,mamicode.com
首页 > 其他好文
驱动程序进阶篇
我们学习程序设计,都是从“Hello World”开始的,驱动程序也不例外,今天我就写一个驱动版的“Hello World”来热热身,目的希望大家能对驱动程序的基本框架有所了解。 驱动程序分为2类,一个是 Kernel(内核) 模式驱动,另一个是 Windows (用户窗口层)模式驱动,2种模式本质...
分类:其他好文   时间:2015-12-06 13:01:49    阅读次数:200
1074. Reversing Linked List (25)
reverse 方法很好用时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a constant K and a singly linked list L, you are supposed to reverse the ...
分类:其他好文   时间:2015-12-06 13:02:39    阅读次数:218
minicom的使用
1、安装minicomsudo dnf install minicom2、查看版本信息,验证是否正确安装minicom -v3、查看usb转串口驱动是否安装,设备是否正常挂载lsusb如图所示usb转转口设备正常挂载,使用的芯片为HL-340.linux下对所有设备操作面向用户的都是文件操作,在对串...
分类:其他好文   时间:2015-12-06 13:00:28    阅读次数:144
1088. Rational Arithmetic (20)
For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient.Input Spe...
分类:其他好文   时间:2015-12-06 13:03:13    阅读次数:256
1100. Mars Numbers (20)
People on Mars count their numbers with base 13:Zero on Earth is called "tret" on Mars.The numbers 1 to 12 on Earch is called "jan, feb, mar, apr, may...
分类:其他好文   时间:2015-12-06 13:02:52    阅读次数:195
_____________________________________动态规划之最长子序列问题______1:两个序列中的______________________________________
动态规划之最长自序列问题....两个字符串中的最长子序列问题.参考例题杭电1159.....参考文件.lcy老师的课件....在此对lcy老师致敬..最长子序列问题.......下面附上题目 Online Judge Online Exercise Online Teaching ...
分类:其他好文   时间:2015-12-06 13:00:13    阅读次数:156
1083. List Grades (25)
Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and...
分类:其他好文   时间:2015-12-06 13:00:24    阅读次数:120
1086. Tree Traversals Again (25)
时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yuepush 的顺序就是二叉树的前序pop的顺序就是二叉树的中序遍历本质上还是考根据这两个顺序建立二叉树,并且进行后序遍历An inorder binary tree traversal ...
分类:其他好文   时间:2015-12-06 12:59:53    阅读次数:152
UICollectionView
#import "ViewController.h"@interfaceViewController ()@end@implementation ViewController- (void)viewDidLoad { [superviewDidLoad]; UICollectionViewFl...
分类:其他好文   时间:2015-12-06 12:58:42    阅读次数:174
UML系列02之UML类图
UML系列02之UML类图
分类:其他好文   时间:2015-12-06 13:00:17    阅读次数:109
printf sprintf fprintf
printf、sprintf与fprintf 的用法区分1.printf 是和标准输出文件(stdout)关联的,fprintf 则没有这个限制.2.fprintf是用于文件操作的,原型是int fprintf( FILE *stream, const char *format [, argumen...
分类:其他好文   时间:2015-12-06 12:59:56    阅读次数:108
1097. Deduplication on a Linked List (25)
Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va...
分类:其他好文   时间:2015-12-06 12:59:52    阅读次数:140
【转】设计模式六大原则(5):迪米特法则
定义:一个对象应该对其他对象保持最少的了解。问题由来:类与类之间的关系越密切,耦合度越大,当一个类发生改变时,对另一个类的影响也越大。解决方案:尽量降低类与类之间的耦合。 自从我们接触编程开始,就知道了软件编程的总的原则:低耦合,高内聚。无论是面向过程编程还是面向对象编程,只有使各个模块之间的耦合尽...
分类:其他好文   时间:2015-12-06 12:57:09    阅读次数:142
BFC对于布局的帮助
前几天在园子里看文章的时候看到了BFC这个概念,对于小白的我来说那是相当的陌生,于是就百度了一下。结果还是有很多的,看来并不算是一个冷僻的知识。于是来总结一下搜索到的一些结果和理解。 那么,什么事BFC呢?BFC是块级格式化上下文(Block Formatting Context)的简写,用来...
分类:其他好文   时间:2015-12-06 12:55:58    阅读次数:122
在servlet中使用split()截取以反斜杠‘\’分割的字符串
string dz =“D:workspace\TXimage\a.png”;想用split()函数把这个字符串截取。代码如下:String td[]=dz.split("\\\\");if (td.length>1) {for(int i=0;i<td.length;i++){System.out...
分类:其他好文   时间:2015-12-06 12:55:48    阅读次数:161
UML系列01之 UML用例图
UML系列01之 UML用例图
分类:其他好文   时间:2015-12-06 12:57:17    阅读次数:152
1070. Mooncake (25)
(库存量也是double)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueMooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn ...
分类:其他好文   时间:2015-12-06 12:56:34    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!