早上睜開眼睛,8點45。 一夜的夢,醒來又不記得夢的內容。又遲到了。
在上個月之前,在兩年職業生涯里我沒有遲到過一分鐘,可最近的一個月,4次遲到,至少讓我損失了100RMB 以及珍貴的 8 小時年假。
夜里很快就可以睡著, 可每當早晨來臨時, 我就想賴在夢里不肯走。 我明白,現在的日子可能還沒辦法象以前那么充實,可是我還沒有習慣這新的生活,總是試圖在夢境里重溫那些甜美的記憶。
這只小熊很好,你不用牽掛它。
這首
Love to be loved by you,演唱者是原來natural 樂隊的
Marc Terenzi,他在他和
Sarah Connor 的婚禮上,彈琴唱了這首歌。那是2005年七月末,在西班牙的浪漫海邊,浪漫的場景,浪漫的主角,Marc在海邊的巖石上彈著鋼琴演驛了這首 Love to be loved by you,Sarah被感動得流下了屬于幸福的淚水。
I can't believe I'm standing here
Been waiting for so many years and
Today I found the queen to reign my heart.
You changed my life so patiently
And turned it into something good and real
I feel just like I felt in all my dreams.
There are questions hard to answer, can't you see...
Baby, tell me how can I tell you
That I love you more than life?
Show me how can I show you
That I'm blinded by your light.
When you touch me, I can touch you
To find out the dream is true.
I love to be loved by you.
You're looking kinda scared right now,
You're waiting for the wedding vows.
But I don't know if my tongue's able to talk
Your beauty is just blinding me,
Like sunbeams on a summer stream
And I gotta close my eyes to protect me.
Can you take my hand and lead me from here please?
Yeah,yeah
Baby, tell me how can I tell you
That I love you more than life?
Show me how can I show you
That I'm blinded by your light.
When you touch me I can touch you
To find out the dream is true.
I love to be loved
I need to be loved
I love to be loved by you.
I know they're gonna say
Our love's not strong enough to last forever.
And I know they're gonna say that we'll give up
Because of heavy weather.
But how can they understand
That our love is just heaven-sent,
We keep on going on and on
Cause this is where we both belong.
Baby, tell me how can I tell you
That I love you more than life?
Show me how can I show you
That I'm blinded by your light.
When you touch me I can touch you
To find out the dream is true
I love to be loved
I need, yes I need to be loved
I love to be loved by you.
Yes, I love to be loved by you.
定期更新blog對我這種懶人來講不得不說是一種相當巨大的挑戰,好在我發現了一個可以讓我對寫blog產生一點興趣的東東,就是現在正在使用的 Windows Live Writer。很方便,也很安全,界面也很舒服。
人長大了才慢慢體會到寫作是一件十分十分重要的東西,學生時代對爬格子寫文章的簡直是嗤之以鼻,認為學好數理化才是王道,每天沉迷在數字和原子當中。可事實并不是那么簡單,越來越發現數理化大牛們個個也都是文采橫溢,著書立傳毫不含糊,而且越是學術水平高,寫出來的東西越結構清晰,淺顯易懂。想想自己寫的東西,有時自己都看不懂, 有時根本就看不出來要表達什么意思。
好在我臉皮厚,不怕別人笑話,而且知道寫作這玩意兒必須動手寫,才能有提高。所以不管怎樣,每天定時上來噴兩句也許還是有用的。
我們都知道,C語言中的基本數據類型都分為 有符號型,和無符號型, 分別用signed 和 unsigned 來表示。一般情況下, 對于有符號類型, 聲明時可以省略掉前面的signed, int i 等價于 signed int i. 星星一直以為所有數據類型,在所有的情況都適用此省略規則,直到前兩天在ADS上編譯一段程序時遇到了一個“靈異的問題“:
定義了一個變量 char ch = -5 ; 可以是編譯器卻給出了警告, 并且其后的代碼中 if( ch < 0 ) 結果為假! 這段代碼在vc上面編譯是沒有問題的。 后來在網上查了一些資料,原來是這樣: 對于 char ch 這樣的定義 C語言標準并沒有強制規定它的是一個有符號數還是無符號數,不同的編譯器可以有不同的實現。ADS 認為 char ch 是要定義一個無符號數即 unsigned ch = -5 ,所以會給警告,并且后續的代碼工作不正常, 而vc默認 char 為 signed char, 所以沒有問題。
解決方法
1. 使用自己定義的數據類型, 在不同平臺上只需要重新編譯代碼
#if defined ( ADS )
typedef signed char CHAR;
#else
typedef char CHAR;
#endif
2. 修改編譯器設置
VC可以使用 /J 指令將默認的char類型定義成 unsigned char
ADS 可以使用 --signed_chars 參數來將默認的 char 類型定義為 signed char
3. 除非必要,不要使用 char 類型。