開發平台(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; 這行時
的系統時間,因為我想要做每次執行這行系統時間的紀錄
謝謝