程序代码:
#include <iostream> using namespace std; int main() { cout<<"hello world!"<<endl; bool val1=true; if(val1==true) { cout<<"bool类型字面值ture"<<endl; } int val2=10; if(val2==true) { cout<<"int类型值10"<<endl; } return 0; }没错了
===========深入<----------------->浅出============