码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
zoj 2083 Win the Game(博弈SG函数)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1083题意差不多是这样,给你n条线的长度,让你染色,每次只能染2个长度单位,让你先染,问是否能赢的胜利其实这题和取石子的那题(ECNU 1328 Stripes)差不多,...
分类:Windows程序   时间:2014-05-19 19:37:59    阅读次数:534
原生domReady封装
核心思路:标准浏览器(含IE9+)比较简单,直接监听DOMContentLoaded事件;低版本的IE(IE678)两套机制:1)尝试轮询document.documentElement.doScroll("left")是否报错,若报错则dom树结构未ready,否则dom ready;2)监听do...
分类:其他好文   时间:2014-05-19 18:46:52    阅读次数:214
命名管道与匿名管道
匿名管道父进程#include#includemain(){HANDLEread=NULL,write=NULL;//定义两句柄SECURITY_ATTRIBUTESss;STARTUPINFOsa={0};PROCESS_INFORMATIONpp={0};//定义结构体SECURITY_ATTR...
分类:其他好文   时间:2014-05-19 18:36:09    阅读次数:276
android 关于Make sure the plugin is properly configured问题的解决办法
这个问题引发的原因最初的报错是:[2013-10-14 10:01:58 - XXX] The connection to adb is down, and a severe error has occured.[2013-10-14 10:01:58 - XXX] You must restart...
分类:移动开发   时间:2014-05-19 18:30:21    阅读次数:336
[dp] zoj 3769 Diablo III
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3769 Diablo III Time Limit: 2 Seconds      Memory Limit: 65536 KB Diablo III is an action role-playing video game. A fe...
分类:其他好文   时间:2014-05-18 18:40:35    阅读次数:345
do...while(0)的妙用
在C++中,有三种类型的循环语句:for, while, 和do...while, 但是在一般应用中作循环时, 我们可能用for和while要多一些,do...while相对不受重视。     但是,最近在读我们项目的代码时,却发现了do...while的一些十分聪明的用法,不是用来做循环,而是用作其他来提高代码的健壮性。 1. do...while(0)消除goto语句。 通常,如果在...
分类:其他好文   时间:2014-05-18 15:01:00    阅读次数:259
C经典之9-system,if,do,while---ShinePans
#include #include #include //system(); 这个指令需要用到此头文件 #include //toupper要用到 void main() { char letter; do{ printf("A Display directory listling\n"); printf("B Display disk information\n"); ...
分类:其他好文   时间:2014-05-18 06:46:07    阅读次数:292
LeetCode 014 Longest Common Prefix
【题目】 Write a function to find the longest common prefix string amongst an array of strings. 【题意】 求一组字符串的最长公共前缀 【思路】 使用归并思想求解 要求字符串[1,2,..,k,k+1,...n]的最大公共前缀,先分别求[1,2,...k]和[k+1,...,n]的公共前缀...
分类:其他好文   时间:2014-05-18 05:17:53    阅读次数:232
C++ Primer 学习笔记_73_面向对象编程 --再谈文本查询示例
面向对象编程--再谈文本查询示例引言: 扩展第10.6节的文本查询应用程序,使我们的系统可以支持更复杂的查询。 为了说明问题,将用下面的简单小说来运行查询: Alice Emma has long flowing red hair. Her Daddy says when the wind blows through her hair, it looks almost alive, l...
分类:编程语言   时间:2014-05-18 04:15:13    阅读次数:564
Fedora19安装smplayer后遇到"Mplayer has finished unexpectedly. Exit code 127"的错误
Fedora19安装smplayer后遇到"Mplayer has finished unexpectedly. Exit code 127"的错误...
分类:其他好文   时间:2014-05-18 03:31:20    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!