Home
LiTTle SPaCe [entries|archive|friends|userinfo]
centrino_0

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

今天心情好好 [Dec. 16th, 2006|01:35 am]
好像很特别的一天,不知道怎么回事,心情就是好。
现在发现这里是一个很好的藏身的地方,百度都搜不到,也没人记得这个地方了,哈哈,以后都在这说悄悄话了。
PS:今天有点胆大。
linkpost comment

cant find a direction [Dec. 13th, 2006|10:35 pm]
[Tags|]

上梢的月牙
白色的竹篱笆
好想告诉我的她
这里像幅画
去年的圣诞卡
镜子里的胡渣
画面开始没有她
我还在装傻
说好为我泡花茶
学习摆刀叉
学生宿舍空荡荡的家
守着电话却等不到她
心里的雨倾盆的下
也沾不湿她的发
泪晕开明信片上的牵挂
那伤心原来没有时差
心里的雨倾盆的下
却始终淋不到她
寒风经过院子里的枝芽
也冷却了我手中的鲜花
linkpost comment

到了上海了 [Jul. 23rd, 2006|11:19 pm]
累死 了
没觉睡真是痛苦
总是感觉上海不是我这种人住的地方,太都市化了.缺乏人情味.坐了三刻钟的地铁,见了好几个抱着小孩的阿姨,如此不容易却没人让座.杭州似乎人情味比较浓一点.
不过可以听懂话了.上海话.打的也不用普通话了:D,不象杭州...
明天去见新朋友和老朋友了,希望不要下雨.一切顺利.
晚安.

posted some chinese,sorry,but the chinese space isn't working properly.
linkpost comment

finally [Jul. 14th, 2006|09:51 pm]
[Tags|]

shoulder released today, so tired recently, for the unpleasent team work this time.It's the first time i failed a project, as a team. i just cant understand why these people haven't got any sense of responsibility for this team. it seems as if i should do all the job... really disappointed..
Never mind, one bite, one gain, good choice of team is important, i guess.
hopefully, this wont affect my final grade too much.
linkpost comment

I am NErvous today, and tired. [Jul. 12th, 2006|01:03 am]
-.-!
linkpost comment

someone told me this [Jul. 9th, 2006|04:46 pm]
[Tags|]
[mood | gloomy]

"when u care somebody,you will always give her or him a chance to regret for what she or he had said to you, no matter how much the words had hurt u."
Yea, i kinda agree. altho it seems stupid. actually human itself is stupid.
linkpost comment

sO lOneLY toDay.... [Jun. 29th, 2006|08:29 pm]
[Tags|]

Long tiMe sInce laSt tIme fElt So depRessed.
Just afteR tHe exAm, dOnt no wHat to do exactly.
WHy sTill theRe sO maNy tOugh tiMe foR mysElf. MAybE eVeryBody have to cOpe wIth sucH kiNd of mOments. Hope mine passes sOOn.

Temporarily:WandErring..
linkpost comment

GREAT! HAHA,FRANCE [Jun. 28th, 2006|09:32 am]
SPAN IS DOWN, DEAR FRANCE, GREAT JOB!
Next is BRaZIL, ANOTHER KICK , HA
linkpost comment

France, Last chance for you ,BEAT Span ! [Jun. 27th, 2006|10:42 am]
Don't let me down again please france. Netherland is gone, you're the only one i am supporting now. Take Span down, tonight, I am with you.
A ZA! FIGHTING!!
linkpost comment

yesterday i had a dream [Jun. 26th, 2006|11:50 am]
My son and my wife appeared in the dream, tho i cant remember exactly what they look like, but it feels good.I dont no why i would have such a dream. huhuhu
WHo are you ? haha ,i remember your name.
link2 comments|post comment

precious everything you have and everybody that you care [Jun. 23rd, 2006|10:50 am]
It's really disappointing to think that someday i will die.
altho this will finally come.
When is that day? Tomorrow or the day after tomorrow? or even one hour later i'll be knocked down by a car in the street?
So speak out everything that you've been hiding.
To mom and dad, I love you so much, you've devoted so much for me. i'll precious every moment with you.
To TB: thanks for always being there supporting me,sharing everything with me.tho this was taken up a lot by your GF :D . But still, i am really proud and happy to have a close friend like you.
To FeTeeTh: haha, you are the last. Great to have met you. there are so much that we can talk. and also thanks for covering my depressed moments at school ,and also sharing the happy stuffs. You are so CUTE, :P..
and be fit soon.

To all of my relatives, have good days,and be happy. especially to my cousin, be confident, tomorrow is the day that you can prove yourself.
linkpost comment

To Fe Teeth [Jun. 17th, 2006|05:21 pm]
one minute before handing the paper in. wish u guessed all the uncertain ones correct!!
linkpost comment

I am Dying.... [Jun. 14th, 2006|06:58 pm]
So tough.. having a fever, a broken throat....
Damn France!!!No more hope on you.
Hope this cold will pass soon, so sicky`````
Wish No DEAR friend will catch a cool like me,
keep fit.
link1 comment|post comment

Tough for everybody [Jun. 1st, 2006|12:04 pm]
To Love and to BE loved are both happiness...
But pity for most of us is that we cant give out two such promises at the same time.
If there are somebody who is loving u for long, but it's not the one of you, it maybe is the most tough thing to cope with..Whatever you do,She'll be hurt.. But still you have to face it. Maybe it's better to get away from her, never contact her is a good choice to reduce the pain for her. tho in her eyes, I'll become a cold guy. But indeed, I dont wanna choose a relationship that is not from my own need.
Hope everybody facing this kind of stuff have a happy endding.
And also more sorry...


indeed i appreciate friendship forever.
linkpost comment

SLEEPY..... [May. 28th, 2006|03:52 pm]
ToO later last night...
Should alter my schedule now,"Shawn Never touch video games at school".
it's tricky, it'll take up to0 much time...never never touch warcraft3 again at school!!!! More time on books, more time on projects, more time on prays,or even more time on SMS, no more time on GAMES!!!
ROGER THAT?
R-O-G-E-R-!
linkpost comment

these days. [May. 24th, 2006|09:06 pm]
SMS is going out of control now~~~~

won't send any SMS unless after being sent.

HAHA~~~
link1 comment|post comment

JAVA's name control [May. 19th, 2006|07:59 pm]
Today's reading is focused on the topic of name controlling in JAVA.
It's a lot more different from that of C++.
In java,there are another level of access:package-access
public is different from that in C++, but private and protected is almost the same. private methods can be used to complish the so called "singleton".
Any way, it feels that this techineque of controlling has much more to care than in C++, because of the file management. :(
Still Learning ...Fighting>>_<<
linkpost comment

A Great method [May. 14th, 2006|03:06 pm]
Yesterday finished the part of overloading the operator ->*
god that's an amazing method to operload this one through newing a sepcial class to pass the arguements. At first i thought it being a waste of work to overload the operator(). Later when i myself tried to overload that in my own way, i find myself in a hard position to pass the arguements to the member function. That was the moment i got Bruce Eckel's idea in the book. amazing!
the sample codes to remember:

#include
using namespace std;

class Dog {
public:
int run(int i) const {
cout << "run\n";
return i;
}
typedef int (Dog::*PMF)(int) const;
// operator->* must return an object
// that has an operator():
class FunctionObject {
Dog* ptr;
PMF pmem;
public:
// Save the object pointer and member pointer
FunctionObject(Dog* wp, PMF pmf)
: ptr(wp), pmem(pmf) {
cout << "FunctionObject constructor\n";
}
// Make the call using the object pointer
// and member pointer
int operator()(int i) const {
cout << "FunctionObject::operator()\n";
return (ptr->*pmem)(i); // Make the call
}
};
FunctionObject operator->*(PMF pmf) {
cout << "operator->*" << endl;
return FunctionObject(this, pmf);
}
};

int main() {
Dog w;
Dog::PMF pmf = &Dog::run;
cout << (w->*pmf)(1) << endl;
} ///:~

His method is to separate the overload into two steps: creating an object, and then call one of its member function


if the member funtion has no arguement, the ->*operator can be simply overload as
ReturnOfFunctionType Dog::operation->*(PMF& pmf )
{
return this->*pmf;
}
when calling this ->*operator, just like "w->*pmf"
here you can see arguement cant be passed into the function since the
->* only takes a PMF& pmf as an arguement.
linkpost comment

today's C++ [May. 10th, 2006|10:12 pm]
TOday's gain:
any arguement that can used to create an object(temporary) can be passed to function which take the corresponding reference of object as arguement. but the reference should be "const" to prevent editing the temporary object inside the function.
ex:
class A
{
int ii;
public:
A(int i):ii(i){}
...
};

f(const A a1);

int main()
{
int a;
f(a);//correct ,temporary is created
}
linkpost comment

TOO BAD IDEAS!! [May. 10th, 2006|10:09 pm]
Never think of what the future should be for u, we should build it ourself.
From orc:The future is ours.
linkpost comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]

Advertisement