码迷,mamicode.com
首页 >  
搜索关键字:do while循环    ( 14864个结果
$*和$@之间区别代码分析
#!/bin/bash set 'apple pie' pears peaches for i in $*           /*单引号被去掉,循环单个字符输出*/ do echo $i done [root@luozhonghua Ex_14.02-14.31]# sh 14-14-1 apple pie pears peaches ------------------...
分类:其他好文   时间:2014-08-09 23:22:59    阅读次数:393
leetcode 刷题之路 64 Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 给出二叉树的中序遍历和后序遍历结果,恢复出二叉树。 后序遍历序列的最后一个元素值是二叉树的根节点的值,查找...
分类:其他好文   时间:2014-08-09 23:15:09    阅读次数:312
javascript小白学习指南0---2
好啦 好啦 ,美女看够了,我们开始继续上一次讲的内容把(上一节的内容)   控制语句:    首先我先给大家总结一下在javascript中一共有 9 种控制语句它们分别是  if 语句do-while 语句while 语句for 语句for-in 语句label 语句break 和 continue 语句with 语句 switch 语句    下面来分别为这几个控制语句举个例子...
分类:编程语言   时间:2014-08-09 18:45:58    阅读次数:335
ASP生成新会员编号
Function MakeUserCode OpenDB() Randomize dim getid_rs,getid set getid_rs=rsobj do while true getid="CN"&int(rnd()*(10^6)) ...
分类:Web程序   时间:2014-08-09 18:39:48    阅读次数:235
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.按照palindrome的定义,负数一定不是palindrome number。而且palindrome number肯定是沿着中轴(可能为一个数或者两...
分类:其他好文   时间:2014-08-09 18:37:28    阅读次数:213
oe 仓库管理
需求情景:销售电商, 其中有些产品 为代理销售(公司不管理库存,建立SO后直接由对应的供应商发货即可)解决方案: SO 生成 DO 时候 , 源库存的取得逻辑 SO--》SHOP--》warehouse--》stcok location 目标库位的取得逻辑 SO-...
分类:其他好文   时间:2014-08-09 18:37:18    阅读次数:403
zoj 2107&&hdu 1007最近点对问题
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1107Quoit DesignTime Limit:5 Seconds Memory Limit:32768 KBHave you ever played quoit in a p...
分类:其他好文   时间:2014-08-09 18:30:28    阅读次数:323
aspNet各种模块介绍
For browsers that do not support HTML5, you can use Modernizr. Modernizr is an open-source JavaScript library that can detect whether a browser suppor...
分类:Web程序   时间:2014-08-09 13:18:57    阅读次数:269
【ThinkingInC++】5、吧文件中的单词由后向前打印
文本文件 i like china i can play just do it i will cometrue my dream come on!!! 源程序 /** * 功能:2-5,2-6,2-7吧文件中的单词由后向前打印 * 时间:2014年7月30日21:27:12 * 作者:cutter_point */ #include #include #include #i...
分类:编程语言   时间:2014-08-09 11:48:17    阅读次数:231
Python 学习笔记(3)
Class:def scope_test(): def do_local(): spam = "local spam" def do_nonlocal(): nonlocal spam spam = "nonlocal spam" def ...
分类:编程语言   时间:2014-08-09 09:02:47    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!