trace.c
来自「linux下多线程程序设计,包括signals,mutex,simple_onc」· C语言 代码 · 共 35 行
C
35 行
/******************************************************** * An example source module to accompany... * * "Using POSIX Threads: Programming with Pthreads" * by Brad nichols, Dick Buttlar, Jackie Farrell * O'Reilly & Associates, Inc. * ******************************************************** * trace.c * * Debug trace macro */#include <stdio.h>#ifdef DEBUG#define DPRINTF(x) printf x#else#define DPRINTF(x)#endifextern intmain(void){ int x = 1; DPRINTF(("x = %d\n", x)); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?