📅  最后修改于: 2022-03-11 14:44:55.934000             🧑  作者: Mango
int cheese = 0;
// Example of a simple ternary with output stream operators.
std::cout << (cheese ? "We have cheese." : "+++Out of Cheese Error+++") << std::endl;