常見例句The most compelling need for sizeof( ) in C and C++ is portability. 在C和C++中,size()最常見的一種應(yīng)用就是“移植”。The expression cannot use sizeof or a type-cast operator. 表達(dá)式不能使用sizeof運(yùn)算符或者時一個強(qiáng)制類型轉(zhuǎn)換符。Whenever possible, use SizeOf to determine the count. --------------------------------- move是複制一部分字節(jié)數(shù)據(jù)的。Java does not need a sizeof( ) operator for this purpose because all the data types are the same size on all machines. Java不需要sizeof()運(yùn)算符來滿足這方麪的需要,因爲(wèi)所有數(shù)據(jù)類型在所有機(jī)器的大小都是相同的。The #if line evaluates a constant integer expression (which may not include sizeof, casts, or enum constants). 還可以使用條件語句對預(yù)処理本身進(jìn)行控制,這種條件語句的值是在預(yù)処理執(zhí)行的過程中進(jìn)行計算。The sizeof() function counts the elements of an array, or the properties of an object.sizeof ()函數(shù)的作用是:統(tǒng)計一個數(shù)組中所包含的元素數(shù)量;或者是統(tǒng)計一個 ... 返回 sizeof