上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 337 下一页
摘要: #include#include #include "time.h" int main( void ) { long i = 1000000000L; clock_t start_time, end_time; double duration_time; start_time=clock(); while( i-- ) ; end_time = clock(); duration_time = (double)(end_time-start_time) / CLOCKS_PER_SEC; printf( "duration: %lf seconds\n" 阅读全文
posted @ 2013-07-13 08:26 emanlee 阅读(2223) 评论(0) 推荐(0)
摘要: # 动态创建二维数组示例#include "stdlib.h" #include "stdio.h" #include int main() { int i,j; int n; // 这个是需要指定二维数组的行数 int (*p)[10]; scanf("%d",&n);// 取得行数 // 动态生成二维数组,指定列数为10,如果想改,自己修改里面的参数,如果想定义n行2列就为: p=(int (*)[2])malloc(n*2*sizeof(int)); p=(int (*)[10])malloc(n*10*sizeof(i 阅读全文
posted @ 2013-07-12 16:20 emanlee 阅读(5163) 评论(0) 推荐(0)
摘要: C/C++ stack overflow, 怎样设置stack大小?解决方案 (1) vc6.0: project->setting->link->project options->Output->Reserve(2) 或者,把数组弄成全局变量或者malloc出来 阅读全文
posted @ 2013-07-12 11:35 emanlee 阅读(448) 评论(0) 推荐(0)
摘要: esxi 5.1选择了客户端设备,打开控制台后,CD/DVD一直显示“CD/DVD驱动器1 正在连接”解决方法:vSphere Client客户端问题,关闭和重新打开vSphere Client客户端即可。 阅读全文
posted @ 2013-07-03 08:49 emanlee 阅读(5693) 评论(0) 推荐(0)
摘要: SecureCR 下的文件传输协议有ASCII 、Xmodem 、Ymodem 、Zmodem。ASCII:这是最快的传输协议,但只能传送文本文件。Xmodem:这种传输协议速度较慢,但由于使用了CRC错误侦测方法,传输的准确率可高达99.6%。Ymodem:这是Xmodem的改良版,使用了1024... 阅读全文
posted @ 2013-06-27 17:22 emanlee 阅读(2732) 评论(0) 推荐(1)
摘要: > d typeof(d) [1] "list" > n = c(2, 3, 5) > s = c("aa", "bb", "cc") > b = c(TRUE, FALSE, TRUE) > df = data.frame(n, s, b) > typeof(df)... 阅读全文
posted @ 2013-05-27 23:36 emanlee 阅读(646) 评论(0) 推荐(0)
摘要: Linux中的计划任务(一次性定时计划任务)的at命令的用法1.命令格式:at[参数][时间]2.命令功能:在一个指定的时间执行一个指定任务,只能执行一次,且需要开启atd进程(ps-ef|grepatd查看,开启用/etc/init.d/atdstartorrestart;开机即启动则需要运行 c... 阅读全文
posted @ 2013-04-26 09:16 emanlee 阅读(6062) 评论(0) 推荐(0)
摘要: sra是NCBI 推出的存储高通量数据的格式,而平常我们工作用得多是fastq格式。如果需要把sra 转成fastq,从 http://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?cmd=show&f=software&m=software&s=softwar... 阅读全文
posted @ 2013-04-15 16:16 emanlee 阅读(27764) 评论(0) 推荐(0)
摘要: (1)安装cufflinks tophat http://5527lok.blog.163.com/blog/static/6475158201242823917220/ (2)使用Tophat分析RNA-seq结果 http://5527lok.blog.163.com/blog/static/6 阅读全文
posted @ 2013-04-14 16:58 emanlee 阅读(17) 评论(0) 推荐(0)
摘要: Red Hat Linux Enterprise Server 5.8 安装R语言 R-2.13.0下载R-2.13.0源代码http://cran.stat.ucla.edu/src/base/R-2/1、解压文件:tar –zvxf R-2.13.0.tar.tar2、进入R源文件目录:cd R... 阅读全文
posted @ 2013-04-14 11:59 emanlee 阅读(1715) 评论(0) 推荐(0)
上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 337 下一页