📜  c++ watch a variable - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:50.346000             🧑  作者: Mango

代码示例1
// prints the variable name and value
#define watch(x) cout << (#x) << " is " << (x) << endl;