码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
将win7电脑变身WiFi热点
转自:http://bbs.feng.com/read-htm-tid-2167498.html开启windows 7的隐藏功能:虚拟WiFi和SoftAP(即虚拟无线AP),就可以让电脑变成无线路由器,实现共享上网,节省网费和路由器购买费。iphone4亲测通过,比conncetify方便,稳定,...
分类:Windows程序   时间:2014-06-02 12:43:17    阅读次数:500
Parse error: syntax error, unexpected T_STRING in D:\workspaces\0428\0630\08-returntype.php on line 4
那你有权限查看修改服务器的php.ini吗?你查看一下服务器的php.ini找到:short_open_tag = Off这一行,如果short_open_tag = On,那么你就把它改成Off因为如果这个为On,就意味着运行这样的php代码:也就是说等同于所以你第一行的就被服务器认为是php代码...
分类:Web程序   时间:2014-06-02 11:41:38    阅读次数:249
【剑指offer】无聊的1+2+...+n
题目描述: 求1+2+3+...+n,要求不能使用乘除法、for、while、if、else、switch、case等关键字及条件判断语句(A?B:C)。 输入: 输入可能包含多个测试样例。 对于每个测试案例,输入为一个整数n(1<= n<=100000)。 输出: 对应每个测试案例, 输出1+2+3+…+n的值。 样例输入:...
分类:其他好文   时间:2014-06-02 10:36:56    阅读次数:204
1+2+3+...+n不能用while、for、if else等实现
问题描述 求 1+2+ … +n ,要求不能使用乘除法、 for 、 while 、 if 、 else 、 switch 、 case 等关键字以及条件判断语句。 实际意义不大,题目涉及的知识还是不错的! 方法1 用构造函数求解。 #include using namespace std; class Plus { public: Plu...
分类:其他好文   时间:2014-06-02 10:29:11    阅读次数:208
执行srvctl报错 :error while loading shared libraries: libpthread.so.0:
执行srvctl是报错 errorwhileloadingsharedlibraries:libpthread.so.0: [oracle@rac02~]$srvctl /opt/ora10g/product/10.2.0/db_1/jdk/jre/bin/java:errorwhileloadingsharedlibraries:libpthread.so.0: cannotopensharedobjectfile:Nosuchfileordirectory 查看srvctl命令..
分类:其他好文   时间:2014-06-02 04:09:00    阅读次数:285
line 1: Dump: command not found
最近做一个实验,要监控oracle的alert日志,脚本写好后发现执行报如下错误,但结果可以正常输出 [root@localhost~]#shtt.sh /root/alert:line1:Dump:commandnotfound /root/alert:line2:Fri:commandnotfound /root/alert:line3:ORACLE:commandnotfound /root/alert:line5:Wind..
分类:其他好文   时间:2014-06-02 04:07:41    阅读次数:345
AIX 5.3 裸设备建库
裸设备建库 1.首先查看要创建逻辑卷上的卷组datavg datavgppsize为32M [aix/]#lsvgdatavg VOLUMEGROUP:datavgVGIDENTIFIER:00cd04ce00004c00000001215271137f VGSTATE:activePPSIZE:32megabyte(s) VGPERMISSION:read/writeTOTALPPs:2187(69984megabytes) MAXLVs:256FREEPPs:..
分类:其他好文   时间:2014-06-02 03:18:19    阅读次数:222
AIX脚本创建裸设备
1.批量建立redolog裸设备脚本(非条带) #!/usr/bin/ksh i=1 while(($i<=9)); do mklv-ylv_redo"00$i"_1g-traw-wn-rn-u1oltpvg1 i=$(expr$i+1); done 2.建立stripesize为1M,stripewidth为14,lv大小为8G的裸设备, hdiskpower1=92160M #!/usr/bin/ksh i=1 while[$i-lt..
分类:其他好文   时间:2014-06-02 03:05:19    阅读次数:281
LeetCode Sort Colors
class Solution { public: void swap(int &a,int &b) { int t=a; a=b; b=t; } void ksort(int l,int h,int a[]) { if(h<l+2) return; int e=h,p=l; while(...
分类:其他好文   时间:2014-06-02 03:01:26    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!