吉田喜重前傳
給遠方的朋友
妳好嗎?
畢業之後少有跟妳聯絡,今日知道妳離開了,實在太突然.也抱歉我知道得太遲.
這些年來,我總以為大家會在好多年之後相聚,也總以為大家老了之後回首當年會好開心.或者,我真的太天真吧!
在我記憶之中妳
One limitation of internal charges
One of the things that is popular in universities and companies ischarging for internal services. The hope is that this will causepeople to be 'efficient' in both what services they use and how theyprovide services, much as if the various groups were real companiesdoing business with each other. However, this is an illusion.
One of the ways that this is an illusion is that a university cannotlet a consumer group fail if it cannot pay its bills or doesn't haveany money, the way a
把排球看深一點
C++ Tricks 2.2 I386平臺的內存佈局
2.2 I386平臺的內存佈局
衆所周知,I386是32位體系結構。因此對於絕大多數I386平臺的C++編譯器而言,sizeof(int)=sizeof(long)=sizeof(void*)=4。當然C++標準對此沒有任何保證,我們
C++ Tricks
C++ Tricks 2.3 I386平臺C函數內部的棧分配
2.3 I386平臺C函數內部的棧分配
函數使用棧來保存局部變量,傳遞函數參數。進入函數時,函數在棧上爲函數中的變量統一預留棧空間,將esp減去相應字節數。當函數執行流程途徑變量聲明語句時,如
C++ Tricks 2.4 I386平臺C函數調用邊界的棧分配
2.4 I386平臺C函數調用邊界的棧分配
當調用一個函數時,主調函數將參數以聲明中相反的順序壓棧,然後將當前的代碼執行指針(eip)壓棧,然後跳轉到被調函數的入口點。在被調函數中,通過將ebp加
C++ Tricks 2.5 I386平臺的邊界對齊(Align)
2.5 I386平臺的邊界對齊(Align)
首先提問,既然I386上sizeof(int)==4、sizeof(char)==1,那麼如下結構(struct)A的sizeof是多少?
struct A{int i;char c;};
答案是sizeof(A)==8……1+5=8?
呵呵