目标:声明逗号分隔字符串常量 ========= b d f %declare ACTIVE_VALUES'a', 'b','c' ;
-- Declaring constant like this using "" (double quotes) or even using escape charactersPigStorage
在C++中,我想定义一个可以在另一个函数中使用的常量,关于如何做到这一点的简短回答就可以了。假设在我代码的开头,我想定义这个常量:bool OS = 1; //1 = linux const ???= "cls";我不知道该用什么类型来定义"clear“字符串...我真的很困惑。稍后我想在一个函数中使用它:
int