码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
POJ1573——Robot Motion
Robot MotionDescriptionA robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move ar...
分类:其他好文   时间:2014-06-04 17:56:00    阅读次数:247
一周总结2
在c语言中,循环语句是重难点。,掌握while与do-while的区别以及条件,for循环的三个表达式。break表示结束本层循环,continue是结束本次循环,进行下次循环。数组与字符串的冒泡排序基本表达式为int i,j;int a[5];int med;for(i=0;i<5;i++){ f...
分类:其他好文   时间:2014-06-04 14:57:26    阅读次数:200
mac OS 常用的一些快捷键
截图:1.Command+shift+3:全屏截图,保存截图到桌面 2.Command+shift+4:鼠标选定区域截图,保存截图到桌面显示隐藏文件: defaults write com.apple.finder AppleShowAllFiles -bool true/false
分类:其他好文   时间:2014-06-04 14:36:53    阅读次数:233
Linux进程创建和结束
在Linux中,进程的创建由系统调用fork和vfork完成。它们生成一个子进程并且子进程是父进程的一个复制品。Fork系统调用对应的kernel函数是sys_fork,此函数简单的调用kernel函数do_fork。一个简化版的do_fork执行如下:(1)alloc_pid()。给新的进程分配一...
分类:系统相关   时间:2014-06-02 19:04:43    阅读次数:355
springmvc如何访问到静态的文件,如jpg,js,css
如何你的DispatcherServlet拦截"*.do"这样的有后缀的URL,就不存在访问不到静态资源的问题。   如果你的DispatcherServlet拦截"/",为了实现REST风格,拦截了所有的请求,那么同时对*.js,*.jpg等静态文件的访问也就被拦截了。   要解决这个问题。     目的:可以正常访问静态文件,不可以找不到静态文件报404。 方案一:激活Tom...
分类:编程语言   时间:2014-06-02 19:00:10    阅读次数:353
设计模式总结篇系列:组合模式(Composite)
在探讨Java组合模式之前,先要明白几个概念的区别:继承、组合和聚合。继承是is-a的关系。组合和聚合有点像,有些书上没有作区分,都称之为has-a,有些书上对其进行了较为严格区分,组合是contains-a关系,聚合是has-a关系。组合方式中被组合的对象生命周期不能超过整体,一般写代码时是直接在...
分类:其他好文   时间:2014-06-02 12:52:24    阅读次数:224
Ubuntu14.04 Objective-C hello world
1. Install GNUstepsudo apt-get install gnustep gnustep-devel2. Write hello world program, and save as hello.m#import int main (int argc, const char * ...
分类:其他好文   时间:2014-06-02 12:49:08    阅读次数:185
LeetCode: Same Tree [100]
【题目】 Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 【题意】 判断了两个二叉树是否相等 【思路】 递归...
分类:其他好文   时间:2014-06-02 11:03:03    阅读次数:205
[Ruby] Ruby Variable Scope
Scope defines where in a program a variable is accessible. Ruby has four types of variable scope, local, global, instance and class....
分类:其他好文   时间:2014-06-02 10:37:39    阅读次数:241
cocos2d 人物移动
#include"HelloWorldScene.h" #include"MyLayer.h" usingnamespacecocos2d; CCScene*HelloWorld::scene() { CCScene*scene=NULL; do { //‘scene‘isanautoreleaseobject scene=CCScene::create(); CC_BREAK_IF(!scene); //‘layer‘isanautoreleaseobject HelloWorld*layer=HelloW..
分类:移动开发   时间:2014-06-02 07:53:45    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!