码迷,mamicode.com
首页 >  
搜索关键字:do while循环    ( 14864个结果
generate ascii table
$ cat ascii.sh dec_count=0while [ $dec_count -lt 256 ]do echo -e "\x$(echo "ibase=10;obase=16;$dec_count" | bc)\c" dec_count=$((dec_coun...
分类:其他好文   时间:2014-07-11 22:42:50    阅读次数:496
How to do code coverage test for windows service
First, instrument the exe or dll by commandvsinstr -coverage the dll/exesecond, start the performance monitorVSPerfCmd.exe /start:coverage /output:"D:...
分类:Windows程序   时间:2014-07-11 22:29:17    阅读次数:437
leetcode题解:Construct Binary Tree from Preorder and Inorder Traversal (根据前序和中序遍历构造二叉树)
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.说明: 1)二叉树可.....
分类:其他好文   时间:2014-07-11 21:07:27    阅读次数:273
关于开源的RTP——jrtplib的使用
session.BeginDataAccess(); if (session.GotoFirstSource()){ do{ RTPPacket *packet; while ((packet = session.GetNextPacket()) != 0){ ...
分类:其他好文   时间:2014-07-11 20:51:41    阅读次数:210
leetcode题解: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.说明: 1)实现与.....
分类:其他好文   时间:2014-07-11 20:40:38    阅读次数:198
How to make your assembly more secure from referencing by unauthorized bits
Now the security has a trend to become more and more important in our daily work, hence I did some researches on some of the topics, and hope to do mo...
分类:其他好文   时间:2014-07-11 19:20:52    阅读次数:283
AR# 30522:LogiCORE RapidIO - How do system_reset and link_reset work?
DescriptionHow do system_reset and link_rest work?Solutionlnk_linkreset_n (input):In Xilinx SRIO example design, rio_reset.v is provided to handle lin...
分类:Windows程序   时间:2014-07-11 12:08:03    阅读次数:358
sql 备份还原
先记下来,空了去看看 //开始备份 with adoquery1 do begin close; sql.Clear; sql.Add('Backup database library to disk=:p1 with init'); parameters.ParamByName('p1').Val...
分类:数据库   时间:2014-07-11 12:05:22    阅读次数:252
shell脚本解析5----循环语句
一、for循环for var in [ list ]do #code blockdone$var是循环控制变量,[list]是var需要遍历的一个集合,do/done对包含了循环体。如果do和for被写在同一行,必须在do前面加上“;”,如:for $var in [list]; do例如:#!/....
分类:其他好文   时间:2014-07-11 10:39:39    阅读次数:178
Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.思路:递归。主要是注意调用时起...
分类:其他好文   时间:2014-07-10 14:40:07    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!