看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) G++ 4.4.3 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) NO 問題(Question): 執行時過程中印出時間 程式碼(Code):(請善用置底文網頁, 記得排版) int main() { while(1) { std::cout << "RAT1 is startting to receive" <<std::endl; do { ... //gettimeofday(&tv,&tz); std::cout<<the end of sent; } while(Gotonextsource!=NULL) 補充說明(Supplement): 如何印出 執行 std::cout << "RAT1 is startting to receive" <<std::endl; 這行時 的系統時間,因為我想要做每次執行這行系統時間的紀錄 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.164.19 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1431346152.A.B0F.html
KoenigseggG: 板上 /時間,最近一篇? 05/11 21:00
ComputerGod: 那篇是紀錄 當下你按下啟動程式的系統時間而已 05/11 21:07
TobyH4cker: 除了水晶球之外,要不要翻譯蒟蒻呢 05/12 01:04
MOONRAKER: ComputerGod怎麼還會問這種問題 05/12 04:20