码迷,mamicode.com
首页 >  
搜索关键字:shell memcache printf    ( 45225个结果)
13期末3
#include "stdio.h" void main(){ int i ; for(i = 0; i<4; i++){ if( i==2) break; printf("%d ",i); } printf("\n"); for(i = 0; i<4; i++){ if( i==2) continue...
分类:其他好文   时间:2014-08-05 00:44:38    阅读次数:189
13期末5
#include "stdio.h" void main(){ int a[]={1,2,3,4,5,6,7,8}; int i,x ,*p; x=1; p=&a[3]; for( i=0; i<3; i++ ) x *= *(p+i); printf("x=%d\n",x); }...
分类:其他好文   时间:2014-08-05 00:44:10    阅读次数:214
DEBUG测试
这几天看一个ros软路由的的API借口的C++实现看到一个关于DEBUG的测试,第一次见,感觉挺实用的,记录一下:#include#include #define DEBUG 1using namespace std;int main(){ DEBUG ? printf("hello\n") ...
分类:其他好文   时间:2014-08-05 00:34:08    阅读次数:214
四钟预处理机制区别
一、printf()printf()函数优点在于可以格式化输出!printf()是一个函数,输出字符串,而print是一个语言结构,总是返回true(1),而echo也是语言结构,返回无效。$total = 12.4如果用echo时,是这样:echo "Total amount is $total....
分类:其他好文   时间:2014-08-05 00:28:18    阅读次数:356
SSH Secure Shell Client--- the host may be dow
the host may be down,or there may be a problem with the network connection.Sometimes such problems can also be caused by a misconfigured firewall.遇到这样...
分类:其他好文   时间:2014-08-05 00:19:28    阅读次数:454
CentOS 7 学习(二) 配置Nginx反向代理
CentOS 7 学习(二) 配置Nginx反向代理 Nginx可以通过php-fpm来运行PHP程序,也可以转向apache,让apache调用php程序来运行。 不过对于Nginx来说,其反向代理功能更值得研究,下面配置一下让Nginx反向代理3台Apache服务器,同时配置memcache作为...
分类:其他好文   时间:2014-08-04 20:43:27    阅读次数:17532
Linux Shell 编程实战技巧
目前,越来越多的企业应用会部署在Linux系统上的,而LinuxShell脚本可以极大地帮助我们完成这些应用的运维任务。这使得LinuxShell开发技能成为开发人员的一项重要的、有竞争力的技能。本文就笔者的实际开发经验,以KornShell为例分享了脚本开发中的常见问题及相关技巧。避免定..
分类:系统相关   时间:2014-08-04 18:18:48    阅读次数:388
XShell技巧
复制和粘贴复制:Ctrl+Insert粘贴:Shift+Insert另外还可以设置点鼠标右键就是粘贴,设置选项在:Tools/Options/general的Right-button;将当前Shell中的内容复制到"记事本"中XShell中内置了这一功能,选中内容,鼠标右键,选择"ToNotepad",再选中"SelectArea"或者"All"或者"S..
分类:其他好文   时间:2014-08-04 18:10:28    阅读次数:366
140802暑期培训.txt
1、pow函数    #include    pow(x,y)用来计算以x 为底的 y 次方值,然后将结果返回。    注意:pow函数返回值为double型        printf ("32.01 ^ 1.54 = %f\n", pow (32.01, 1.54) );        (他也可以计算小数的小数次方) 2、动态规划:    动态规划过程是:每次决策依赖于当前状态,...
分类:其他好文   时间:2014-08-04 17:52:40    阅读次数:206
SGU 403 404 405 406 407 408 409 410 411 413
SGU 403 #include int x; int main(){ while(~scanf("%d",&x)) printf("%d\n", 2*x+1); return 0; } SGU 404 #include #include #include #include using namespace std; int n, m; char s[105][105]; int main...
分类:其他好文   时间:2014-08-04 17:45:17    阅读次数:398
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!