#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
前几天装的mysql,用的还挺爽的,第二天再用就不行了,报的错误如标题。网上也是众说纷纭,可能有很多原因会导致这种错误吧。我用的是将Mysqld这个进程杀掉,就可以启动mysql了
分类:
数据库 时间:
2014-05-02 17:44:14
阅读次数:
378
最近又实验安装了centos
5.8,装完后启动,界面太差了,看着费劲。百度一查,原来是分辨率的问题。下面是分辨率设置方法。“系统->管理->显示“(英文版本的是system->adminstaration->display),打开后,hardware的monitor
type 选择你的显示器对应类...
分类:
其他好文 时间:
2014-05-02 17:07:22
阅读次数:
533
出现下列错误:
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
Write an efficient algorithm that searches for
a value in anmxnmatrix. This matrix has the following properties:Integers in
each row are sorted from l...
分类:
其他好文 时间:
2014-05-02 10:41:53
阅读次数:
267
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef...
分类:
其他好文 时间:
2014-05-02 10:33:09
阅读次数:
332
Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-05-02 09:10:46
阅读次数:
252
Java代码
importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.FileWriter;importjava.io.IOException;import...
分类:
编程语言 时间:
2014-05-02 06:13:08
阅读次数:
477
1.sqlplus/nolog2.SQL> conn / as
sysdba已连接到空闲例程。3.SQL> shutdown abortORACLE 例程已经关闭。4.SQL> startupORACLE
例程已经启动。Total System Global Area 591396864 bytes...
分类:
数据库 时间:
2014-05-02 05:47:08
阅读次数:
376
常用环境设置命令1.改变data输出形式set linesize 150 pagesize
100select * from emp;2.显示/关闭 当前时间set time on/off3.set sqlprompt
"session&get:"4. 设置sqlplus登录的username和in...
分类:
数据库 时间:
2014-05-02 05:40:40
阅读次数:
400