bool f=false; bool t=true; cout << f << endl; cout << t << endl; |
func chi=(-2 < x) * (x < -1) * (-3 < y) * (y < 3);あるいは func chi=(-2 < x && x < -1) * (-3 < y && y < 3); |
real a=1.23, b=4.56; string s; s= "a=" + a + ", b=" + b + "."; cout << s << endl; |