`
文章列表
实验室的电脑上装了一个 fedora14 (很早以前的事了),但一直没怎么用,所以还是个新手,真实惭愧。   今天没啥事,用了一下。发现 firefox 居然还是自带的 3.6 版本,这怎么可以。马上在 http://firefox.com.cn/ 上下载了一个 Firefox-la ...
刚装上 Firefox 4,没想到还发生这种事儿。  
题目 http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=96&page=show_problem&problem=1302   这题的描述还算正常。 两个字符串,一个是“s1<s2>s3<s4>s5”,另一个是“s6...”,输出s1s2s3s4s5和s6s4s3s2s5.   一开始用<string.h>中的 strtok() 函数。   但是,当s2或s4为空的时候,即“strtok("> ...
题目 http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=429     本来题目中已经说“The outputs of two consecutive cases will be separated by a blank line.” 然后又说“NOTE: There is a blank line after each separate waveform, excluding t ...
我安装的是Qt4.7.1(qt-sdk-win-opensource-2010.05)。   昨天,在实验室安装的时候就出现过。主要情况就是:安装后,会在安装目录的上一级目录出现一些多余的文件,如下图  上图中,用红色标记的均为多出来的文件。居然还都是2007年创建的!!? 这些文件应该是可以删掉的吧。   整理了一下  

A Joke

Macs are for those who don't want to know why their computer works. Linux is for those who want to know why their computer works. DOS is for those who want to know why their computer doesn't work. Windows is for those who don't want to know why their computer doesn't work.                  ...
There's always a little truth behind every "JUST KIDDING", a little knowledge behind every "I DON'T KNOW", a little emotion behind every "I DON'T CARE", and a little pain behind every "IT'S OK".
Arena is a FREE available G raphical U ser I nterface (GUI) for chess programs (engines) by Martin Blume . Arena runs on Win95, NT4 or higher Microsoft OS versions. Arena is compatible to Winboard protocol I, II and UCI protocol I, II. Furthermore, compatible to Chess960 ...

杂 of linux

// 不定期更新   1. create函数,没有字母e!!! $ man 2 creat        #include <sys/types.h>  // 这么多头文件        #include <sys/stat.h>        #include <fcntl.h>        int open(const char *pathname, int flags);        int open(const char *pathname, int flags, mode_t mode);        int crea ...

一首诗

Maybe God wants us to meet a few wrong people before meeting the right one so that when we finally meet the right person, we will know how to be grateful for that gift. When the door of happiness closes, another opens, but often times we look so long at the closed door that we don't see th ...
在 VMWare7.1 下安装了 Fedora13.    图 1 有两个“终端”。   希望可以象 Windows 那样用 Win+R 然后输入命令来运行程序(比如按 Win+R 后输入 cmd 来运行命令行)。我呢,就是想按 Win+R 后输入某一个命令来运行“终端”(这里的“终端”不是指 konsole)。   网上有很多添加快捷键的方法,大部分都是要输入命令的(至少我搜到的解决方案都是这样)。我呢,Linux新手,不想这么干。   于是现在有两个问题摆在面前: 1. Fedora 有类似 Windows 的“运行”窗口吗(就是按 Win+R 后弹出的那个窗口)? ...
等我找到了再说吧... ////////////////////////////////////////////////////////////////////////////////////////////////////
//IDE: Visual Studio 2008 #include "stdafx.h" #include <string.h> const int nmemb = 3; struct test {       char name[20];       int size; }s[nmemb]; void set_s(int x, char* y){      strcpy(s[x].name, y);      s[x].size = strlen(y); } int _tmain(int argc, _TCHAR* argv[]) {       FILE * ...
Global site tag (gtag.js) - Google Analytics