显示该程序的路径//C语言

来源:互联网 发布:网络隐私权的内容 编辑:程序博客网 时间:2024/05/17 15:02

//显示程序的路径

//试试,能显示该程序路径2333333333333


#include <stdio.h>
#include <stdlib.h>

#define ErrorLog(format,...) printf("%s-%d:"format,__FILE__,__LINE__,##__VA_ARGS__)

int main()
{
    ErrorLog(" the line show your path and line");
    system("pause");
    return 0;
}

0 0