[阅读: 529] 2005-08-11 08:33:05
#define LOGPRINT log_function(__FUNCTION__, __LINE__)
typedef int (* print_func)(const char * format, ...);
print_func log_function(const char * pFunctionName, int lineNumber)
{
printf("%s %d", pFunctionName, lineNumber);
return printf;
}
int main()
{
LOGPRINT("dfasf%d--%s\n", 5, "fdsafds");
return 0;
}
试图在互联网上划出国界的举动是愚蠢的!!!
把人当成猪羊圈养,草料永远都不够!把人当人待,人有无限的创造力! “人口减少一半,人们两倍富有”的观念为“一种非常糟糕的自甘堕落—这背后的潜台词是,似乎中国人是封闭围栏中的动物,对周围那些自己赖以生存的资源,除了咀嚼,别无办法。”
我的像册:
http://picasaweb.google.com/bjwf2000/
我的主页:
http://bjwf2000.googlepages.com/