码迷,mamicode.com
首页 >  
搜索关键字:find file    ( 74561个结果
用fseek和ftell获取文件的大小
#include #include #include int main(int argc,char *argv[]){ int n=0; FILE *fp; if((fp=fopen(argv[1],"r"))==NULL) { perror("fopen");...
分类:其他好文   时间:2014-05-02 18:05:54    阅读次数:308
the server quit without updating pid file (/var/lib/mysql/localhost.localdomain.pid)
前几天装的mysql,用的还挺爽的,第二天再用就不行了,报的错误如标题。网上也是众说纷纭,可能有很多原因会导致这种错误吧。我用的是将Mysqld这个进程杀掉,就可以启动mysql了
分类:数据库   时间:2014-05-02 17:44:14    阅读次数:378
java开始到熟悉70-71
本次内容:file类 1 package array; 2 /** 3 * file类 4 */ 5 import java.io.File; 6 import java.io.IOException; 7 8 public class file { 9 public static ...
分类:编程语言   时间:2014-05-02 16:50:03    阅读次数:387
用fread和fwrite实现文件复制操作
#include #include #include int main(int argc,char **argv){ FILE *fp_src,*fp_des; char buf[128]; int num; if(argc!=3) { printf("t...
分类:其他好文   时间:2014-05-02 16:06:36    阅读次数:562
对shell的简单认识
shell是一个命令解释器;shell分为交互式shell和非交互式shell; 交互式shell就是命令行一问一答;非交互式shell是像shell文本那样,一次解析文本, 并未在命令行给我们作出回答。shell又分为登陆式shell和非登录式shell; 主要区分于是否输入用户名和密码,输入用户...
分类:其他好文   时间:2014-05-02 15:08:13    阅读次数:256
UVA 之10010 - Where's Waldorf?
Where's Waldorf?  Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:其他好文   时间:2014-05-02 10:59:15    阅读次数:514
出错mlogc.c:32:23: error: curl/curl.h: No such file or directory
出现下列错误: mlogc.c:32:23: error: curl/curl.h: No such file or directory mlogc.c:1091: error: expected ‘)’ before ‘*’ token mlogc.c: In function ‘logc_init’:      出错原因:缺少libcurl-dev or libcurl-devel ...
分类:其他好文   时间:2014-05-02 10:50:35    阅读次数:371
[转]java将字符串写入文件中
Java代码 importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.FileWriter;importjava.io.IOException;import...
分类:编程语言   时间:2014-05-02 06:13:08    阅读次数:477
如何查找linux系统安装了多少perl模块
join函数利用字符将数组中的元素分割开.[root@localhost~]#find`perl-e‘@array=join("","@INC");print"@array";‘`-name*.pm|wc-l547这个例子是利用空格分开了要查找的路径,然后find可以查找所有的路径下匹配*.pm的文件,我一共查到了547个模块.
分类:系统相关   时间:2014-05-02 04:13:56    阅读次数:311
Fedora20下安装vim
$sudoyuminstallvim-enhanced<snipped>Transactioncheckerror:file/usr/share/man/man1/vim.1.gzfrominstallofvim-common-2:7.4.179-1.fc20.x86_64conflictswithfilefrompackagevim-minimal-2:7.4.027-2.fc20.x86_64报错,于是我又更新了一下vi试试$sudoyumupdatevim-min..
分类:其他好文   时间:2014-05-02 02:55:55    阅读次数:285
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!