Andes Workshop

It is currently Wed Apr 08, 2020 2:49 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 如何加上一個time stamp在bin檔裡?
PostPosted: Tue Apr 23, 2013 12:26 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
如果我們需要加上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 3794 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group