📜  ?在 cpp - C++ 代码示例

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

代码示例3
You can use '#' sign to get exact name of an argument passed to a macro:
#define what_is(x) cerr << #x << " is " << x << endl;
int variable = 376;
what_is(variable);
// prints "variable is 376"