调试版本

来源:互联网 发布:新概念3知乎 编辑:程序博客网 时间:2024/06/07 17:47

两种方式

1.#define DUG_PRINT(A)  (cout << A)

 

2.#ifdef DEBUG

   printf();

  #endif

原创粉丝点击