「C++」==演算子とboolean型を使うサンプル
使用例
#include <iostream>
using namespace std;
int main() {
int x = 21;
cout << (x == 21);
return 0;
}
実行結果
1
Coding Changes the World
使用例
#include <iostream>
using namespace std;
int main() {
int x = 21;
cout << (x == 21);
return 0;
}
実行結果
1