用typedef造句子,“typedef”造句
來源:國語幫 1.18W
你可以用typedef來定義一個回調並讓客户機來提供這個回調,這種做法有些類似qsort——但那樣太老土了。
Obviously, the use of a typedef here isn't a prerogative but a must.
The only thing that will change is the typedef itself.
You could use a typedef to define a callback and make clients supply it, something similar to qsort-but that's so old-hat.
唯一要改的是typedef本身。
顯然,這裏使用typedef不是一種特權,而是一種必需。