作者:手机用户2502855767 | 来源:互联网 | 2023-07-06 10:36
myclassisaC++classwrittenbymeandwhenIwrite:myclass是我写的c++类,当我写的时候:myclassx;cout<
myclass
is a C++ class written by me and when I write:
myclass是我写的c++类,当我写的时候:
myclass x;
cout <
how to output 10
or 20.2
, like an integer
or a float
value?
如何输出10或20.2,比如整数或浮点数?
3 个解决方案