12
This commit is contained in:
@@ -24,5 +24,11 @@ int main() {
|
|||||||
string s5 = "a";//c++风格字符串
|
string s5 = "a";//c++风格字符串
|
||||||
string s6 = "a";
|
string s6 = "a";
|
||||||
cout<<(s5== s6)<<endl;
|
cout<<(s5== s6)<<endl;
|
||||||
|
cout<<(1==1 && 2==2)<<endl;
|
||||||
|
cout<<(1==2 && 2==2)<<endl;
|
||||||
|
cout<<(1==2 || 2==3)<<endl;
|
||||||
|
cout<<(1==2 || 2==2)<<endl;
|
||||||
|
bool s123 = 100;
|
||||||
|
cout<<(s123)<<endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user