Sunday, September 25, 2011

Return current date

Return current date
=============
Macro: __DATE__
Return as: String
Example:
    # include<stdio.h>
    int main()
    {
    printf("Current time: %s",__DATE__);
    return 0;
    }

From: Me 

No comments:

Post a Comment

Comment of this content!