The Little Prince-12/13

The Little Prince-12/13

突然发现:这应该是一封情书~

我那时什么也不懂!我应该根据她的行为,而不是根据她的话来判断她。
她使我的生活芬芳多彩,我真不该离开她跑出来。我本应该猜出在她那令人爱怜的花招后面所隐藏的温情。
花是多么自相矛盾!
我当时太年青,还不懂得爱她。

————即使是年轻,也不能为某些错过买单吧?!

要是有人爱上了这世上唯一的花,心陶醉在幸福里的时,羊却吃了他心爱的花——这对他而言,整个世界都黯淡无光了,难道这样的事还不重要吗?

————这就是心心所系吧,我的心连着你的心,当一颗心黯淡了,另一个心也丧失了跳动的活力……

————突然想起一句话:长大的标志就是再也不用妈妈催就自己穿上秋裤了!
————其实,我觉得,长大的标志是变温柔,对全世界都温柔。
————而遗忘,是对记忆的背叛。
————如此这般。
————大概很多恋爱中的少男少女们都会这样吧,对她或他的碎言碎语看得过于认真,然后招来胡思乱想和许许多多的烦恼。
————其实,大概不必如此。如此这般,是还没有长大吧!不过,不要长大的太晚奥!代价会让你铭记的。
————人虽是群居动物,但人更是高级的有独立思想的动物。
————《目送》里有这样一句话吧:有些路,只能一个人走。有些关,只能一个人过。
————被戳中了吧?
————愿现实中的她(他)喜欢你吧~
 
乱入的一张图~~~
 

转载于:https://www.cnblogs.com/zysps1/p/the_prince_book_comment_17.html

#include<iostream> #include<fstream> #include<string> #include <algorithm> using namespace std; #define MAXSIZE 10000 #define KEYSIZE 10 #define OK 0 #define ERROR -1 typedef string KeyType; typedef struct { KeyType key; int count; int index; }ElemType; typedef struct { ElemType *R; int length; }SSTable; KeyType key[KEYSIZE] = {"little","prince","sheep","flowers","believe","stars","one","my","he","the"}; int InitSSTable(SSTable &ST) { /*-----------代码开始--------------*/ /*-----------代码结束--------------*/ return OK; } int InsertSSTable(SSTable &ST,KeyType key,int index) { ST.length++; /*-----------代码开始--------------*/ /*-----------代码结束--------------*/ ST.R[ST.length].index = index; return OK; } string SplitWord(string str) { int begin, end; for(begin=0;begin<str.length();begin++) { if(str[begin]>='a' && str[begin]<='z') break; } for(end=str.length()-1;end>=0;end--) { if(str[end]>='a' && str[end]<='z') break; } if(begin<=end) return str.substr(begin,end-begin+1); else return ""; } char op(char c) { if(c>='A' && c<='Z') c = c+32; return c; } int ProcessIn(KeyType *test,int &len,ifstream &in) { int i = 0; string temp; while(!in.eof()) { in>>temp; transform(temp.begin(), temp.end(), temp.begin(), op); test[i] = SplitWord(temp); i++; } len = i; return OK; } int SearchBin(SSTable ST,KeyType key) { /*-----------代码开始--------------*/ /*-----------代码结束--------------*/ return 0; } void Show(SSTable ST) { for(int i=1;i<=KEYSIZE;i++) cout<<ST.R[i].key<<":"<<ST.R[i].count<<endl; } bool CmpKey(ElemType x,ElemType y) { return x.key < y.key; } bool CmpIndex(ElemType x,ElemType y) { return x.index < y.index; } int main() { ifstream in("testData/小王子.txt"); SSTable ST; KeyType test[MAXSIZE]; int len; ProcessIn(test,len,in); InitSSTable(ST); for(int i=0;i<KEYSIZE;i++) InsertSSTable(ST,key[i],i); sort(ST.R+1,ST.R+1+KEYSIZE,CmpKey); //统计关键词列表中单词的词频 /*-----------代码开始--------------*/ /*-----------代码结束--------------*/ sort(ST.R+1,ST.R+1+KEYSIZE,CmpIndex); Show(ST); in.close(); return OK; }
06-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值