使用__FILE__和__LINE__定位错误
#include <stdio.h> int main() { printf("this fake error is in %s on line %d\n", __FILE__, __LINE__); return 0; }
#include <stdio.h> int main() { printf("this fake error is in %s on line %d\n", __FILE__, __LINE__); return 0; }