Andes Workshop
http://forum.andestech.com/

如何加上一個time stamp在bin檔裡?
http://forum.andestech.com/viewtopic.php?f=25&t=694
Page 1 of 1

Author:  cindy [ Tue Apr 23, 2013 12:26 pm ]
Post subject:  如何加上一個time stamp在bin檔裡?

如果我們需要加上time stamp(時間戳記)在bin檔裡,以便以後比對版本之用,
請用下面的語法:

Code:
#include <stdio.h>
#include <stdlib.h>
const char *buildString = "This build XXXX was compiled at " __DATE__ ", " __TIME__ ".";


附上圖片給大家參考。
Attachment:
time.png
time.png [ 390.73 KiB | Viewed 7236 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/