码迷,mamicode.com
首页 >  
搜索关键字:adblock plus    ( 3005个结果
LPC1768的iic通讯
LPC1768有三路IIC,其中IIC0支持高速模式和plus模式,另外两路是普通IIC,使用IIC的过程如下 首先依然是打开IIC时钟,同时打开GPIO时钟然后配置引脚为IIC功能另外,因为iic0支持plus结构,所以gpio控制的时候还有这个寄存器需要设置接下来设置IIC的高低电平占空比最后使...
分类:其他好文   时间:2015-03-15 02:06:56    阅读次数:328
《C Primer Plus 》动态链表删除的一个错误
《C Primer Plus》确实是一本伟大的书,但尽信书不如无书,作者Stephen Prata可能也希望他的读者能找到些许他在不经意中出现的小错误吧!  在该书第五版17章“高级数据表示”中,程序清单17.2给出如下代码: #include #include #include #define TSIZE 45 #define LEN sizeof(struct film)...
分类:其他好文   时间:2015-03-14 20:04:44    阅读次数:215
functions _ golang
Functions are central in Go. We'll learn about functions with a few different examplespackage mainimport ( "fmt")func plus(a int, b int) int { r...
分类:其他好文   时间:2015-03-14 18:29:44    阅读次数:99
make/makefile中的加号+,减号-和at号@的含义
http://www.crifan.com/order_make__makefile_in_the_plus__minus_-_and_at_the_meaning_of_numbers/在看makefile,其中有些依赖规则中的命令行前面,会有一些减号“-”或者at符号“@”,比如:distcle...
分类:其他好文   时间:2015-03-14 16:48:09    阅读次数:157
iPhone分辨率
分辨率和像素1.iPhone5 4" 分辨率320x568,像素640x1136,@2x2.iPhone6 4.7" 分辨率375x667,像素750x1334,@2x3.iPhone6 Plus 5.5" 分辨率414x736,像素1242x2208,@3x,(注意,在这个分...
分类:其他好文   时间:2015-03-14 15:08:32    阅读次数:169
Plus One
/* int *plusOne(int *digits, int len, int *newLen) 感觉很坑,用c做的时候一直run error而且newLen这个参数有用?*/class Solution {public: vector plusOne(vector &digi...
分类:其他好文   时间:2015-03-14 13:51:23    阅读次数:154
Leetcode: Plus One
题目: Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.题目意思是说给定一个数这个数以数组的形式表示,就...
分类:其他好文   时间:2015-03-14 12:27:07    阅读次数:128
[C++] 用Xcode来写C++程序[7] Class
用Xcode来写C++程序[7] Class不带构造函数的Rectangle类//// Rectangle.h// Plus//// Created by YouXianMing on 15/3/12.// Copyright (c) 2015年 YouXianMing. All right...
分类:编程语言   时间:2015-03-12 23:56:02    阅读次数:286
爬取千万淘宝商品的python脚本
import timeimport leveldbfrom urllib.parse import quote_plus import reimport jsonimport itertoolsimport sysimport requestsfrom queue import Queuefrom ...
分类:编程语言   时间:2015-03-12 15:02:01    阅读次数:1056
hdu 1024(dp)
传送门:Max Sum Plus Plus题意:从n个数中选出m段不相交的连续子段,求这个和最大。分析:经典dp,dp[i][j][0]表示不取第i个数且前i个数分成j段达到的最优值,dp[i][j][1]表示取了第i个数且前i个数分成j段达到的最优值。那么有:dp[i][j][0]=max(dp[...
分类:其他好文   时间:2015-03-11 00:23:36    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!