C++关键词: and

来自cppreference.com
< cpp‎ | keyword

 
 
C++ 语言
 
 

[编辑] 用法

[编辑] 示例

if(n > 0 and n < 5)
{
    std::cout << "n is small and positive\n";
}