1、程序源码:
#include<iostream> int main()
{
bool condition=;
int i=condition;
std::cout<<i<<std::endl;
return ;
}
2、运行结果:
[root@workstudio tmp]# g++ -o main main.cpp
[root@workstudio tmp]# ./main
1、程序源码:
#include<iostream> int main()
{
bool condition=;
int i=condition;
std::cout<<i<<std::endl;
return ;
}
2、运行结果:
[root@workstudio tmp]# g++ -o main main.cpp
[root@workstudio tmp]# ./main