lauyachung de blog
Colombia
March 22, 2009
- 5 Comments
- Comment on this
05:08 AM Nov 24 2009 |
|
---|---|
lauyachong
|
04:00 AM Aug 11 2009 |
|
---|---|
Lily_Jiang
|
07:06 AM Mar 22 2009 |
|
---|---|
173989248
|
06:01 AM Mar 22 2009 |
|
---|---|
lauyachong
|
05:52 AM Mar 22 2009 |
|
---|---|
lauyachong
|
November 2, 2008
#include<stdio.h> #include<string.h> #include<malloc.h> #define TRUE 1 #define FALSE 0 #define Max 255 typedef struct { char ch[255]; int len; } SeqString; int Strclear(SeqString *s) { s->len=0; return(TRUE); } int StrInsert (SeqString *s,int i,SeqString t) { int j; if(i<0||i>s->len) { printf("插入位置不合理"); return(FALSE); } if(s->len+t.len<=Max) { for(j=s->len+t.len;j>=t.len+i;j--) s->ch[j]=s->ch[j-t.len]; for(j=0;j<t.len;j++) s->ch[j+i]=t.ch[j]; s->len=s->len+t.len; } else if(i+t.len<=Max) { for(j=Max-1;j>t.len+i+1;j--) s->ch[j]=s->ch[j-t.len]; for(j=0;j<t.len;j++) s->ch[j+i]=t.ch[j]; s->len=Max; } else { for(j=0;j<Max-i;j++) s->ch[j+i]=t.ch[j]; s->len=Max; } return(TRUE); } int StrDelete(SeqString *s,int i,int j) { int k; if(i<0||i>(s->len-j)) { printf("删除位置不合理"); return(FALSE); } for(k=i+j;k<s->len;k++) s->ch[k-j]=s->ch[k]; s->len=s->len-j; return(TRUE); } main() { SeqString *s1,s2; int i,j; s1=(SeqString*)malloc(sizeof(SeqString)); printf("输入顺序串s1:\n"); gets(s1->ch); s1->len=strlen(s1->ch); printf("输入顺序串s2:\n"); gets(s2.ch); s2.len=strlen(s2.ch); printf("输入插入位置"); scanf("%d",&i); StrInsert(s1,i,s2); printf("插入后的顺序串为:\n"); puts(s1->ch); printf("输入删除位置及栓出串的长度:"); scanf("%d,%d",&i,&j); StrDelete(s1,i,j); printf("删除后的顺序为:\n"); puts(s1->ch); }
- 1 Comment
- Comment on this
07:52 PM Nov 08 2008 |
|
---|---|
Kahou
|
October 25, 2008
片中插曲:《李小龙》(《Bruce Lee Theme》)
作曲:王宗贤(美国)
演唱:Jess Q.Harnell(美国)
歌词:
Every man knows about your bravery
你的神勇震响苍穹
李小龙
The woman stares at your power and your glory
你的威武和荣耀让姑娘们垂青
Let the story be told
让你的事迹流传天下
Let the mystery unfold
让你的神话世代传颂
Separate the real man from the men
永远与众不同
本文转载于 说塔网 来源网址:the website ,click http://www.sooot.cn/show/74.html
it is just the english song of the film"bruce lee",but if all the actor is from hongkong,i think it will be better (though i do not like hongkongese,and look down on them 。他妈的,要不是中国的货物经过它,要给她交税,她有个屁用,没什么本事,在公司上班也是,though i am
a student)! thouth i am chinese and i love china very much, 她妈的,不知道我为什么就听不得大陆的口音,虽然我也不喜欢香港人,fuck me,i do not know why i do not like the sound of the film by chinese may be the mainland of the china,
well,some hongkong film,but i just want to say:although i am a chinese, i am not like the chinese film at all! because it is so rubbish, including the sounds by the mainland actor, and the story ,the theme, the sound and so on, but i like the hongkong film, but i am so sad to know the
Production of
hongkong film is
decline now, though i do not like hongkong very much!
and the taiwan film i s just a mistake to cheat the yough girl in china as well as the rubbish film from south kroea, do not like it!
by the way,i love china, but the chinese film is rubbish, if you want to give me a comment, welcome!
a "girl"