string getCompileDateTime() {
    static string result = "";
    if(result == "") {
        result = string(__DATE__) + " " + string(__TIME__);
    }
    return result;
}

 

posted on 2014-12-23 21:45  kid_coder  阅读(191)  评论(0)    收藏  举报