自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

缥缈之间

I was one of the spirits in heaven.

  • 博客(12)
  • 收藏
  • 关注

原创 ClipBorad

把Doc转换成JS的时候,发现Dod中的内容经过Str := WordApp.ActiveDocument.Content.Text;赋值后,项目符号就没有了,序号也不在了.但是记得如果是直接用Word打开复制到Memo的时候,序号还是存在的.于是,尝试了ClipBoard,果然有效.WordApp.ActiveDocument.Content.FormattedText.Copy; Str :=

2007-04-04 05:26:00 653

原创 [C++] Size

The size of  the fundamental types on my computer.#include int main(){    std::cout    std::cout    std::cout    std::cout    std::cout    std::cout    std::cout    std::cout        getchar();       

2005-04-27 00:09:00 898

原创 [C++] Hello

#include int main(){    std::cout    std::cout        return 0;}

2005-04-27 00:04:00 662

原创 [C1.9] Character Counting

/* C in Practice *//* C1.9 Character counting    using a for statement */   #includemain(){      double nc;            for (nc=0; getchar() != EOF; ++nc)          ;      printf("%.0f", nc);}

2005-03-20 01:12:00 622

原创 [C1.8] Character Counting

/* C in Practice *//* C1.8 Character counting */#includemain(){      long nc;            nc = 0;      while ((getchar()) != EOF)      {            ++nc;      }            printf("%ld", nc);}

2005-03-20 00:30:00 592

原创 [C1.7] File Copying

/* C in Practice *//* C1.7 copy input to output */#includemain(){      int c;            while ((c = getchar()) != EOF)      {            putchar(c);      }}

2005-03-19 13:07:00 490

原创 [C1.6] File Copying

/* C in Practice *//* C1.6 File Copying */#includemain(){      int c;            c = getchar();      while (c != EOF)      {            putchar(c);            c = getchar();      }}

2005-03-19 12:44:00 489

原创 [C1.2] Fahrenheit-Celsius Table

/* C in practice *//* C1.2 Fahrenheit-Celsius Table */#include/* print Fahrenheit-Celsius table   for fahr = 0, 20, ..., 300 */main(){    int fahr, celsius;    int lower, upper, step;    lower = 0;   

2005-03-02 13:22:00 693

原创 [C1.1] Getting Started

This is the first C program.    #include     main()    {        printf("hello, world/n");    }Getting Started.    #include     main()    {        printf("Getting Started./nC in Practice.");    }

2005-03-01 13:12:00 638

原创 [C0.0] C in Practice

The C Programming Language (Second Edition) Brian W.Kernighan & Dennis M.RitchieThe only way to learn a new programming language is by writing programs in it.

2005-02-28 13:54:00 584

原创 先发制人

一道概率题甲每次投篮的命中率为3/7,而乙每次投篮的命中率为1/2。若甲、乙二人轮流投篮。游戏规则为甲先开始,且甲每轮只投一次,而乙每轮连续投两次,先投中者为胜。则甲、乙胜负概率相同。想想甲的投篮命中率比乙低,而且乙每轮要比多投一倍,为什么会有相同的得胜概率呢?先下手为强——这就是先下手的巨大优势。

2004-11-22 19:06:00 675

转载 我为什么活着 /罗素

      三种单纯然而极其强烈的激情支配着我的一生,那就是对于爱情的渴望,对于知识的寻求,以及对于人类苦难痛彻肺腑的怜悯。这些激情犹如狂风,把我伸展到绝望边缘深深的苦海上东抛西掷,使我的生活没有定向。我追求爱情,首先因为它叫我消魂,爱情令人消魂的魅力使我常常乐意为了几小时这样的快乐而牺牲生活中的其他一切。我追求爱情,又因为它减轻孤独感——那种一个颤抖的灵魂望着世界边缘之外冰冷而无生命的无底深渊时

2004-10-17 21:12:00 1606

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除