利用標(biāo)準(zhǔn)庫 time 可以實現(xiàn)以毫秒為最小單位的計時操作
更多關(guān)于c++時間操作的信息看這 http://www.cnitblog.com/ictfly/archive/2007/01/15/21886.html