关于c++ printf 的问题
printf("Zhangsan told a %d.\n. ",a?"truth":"lie");printf("Lisi told a %d.\n",b?"truth":"lie");
printf("Wangwu told a %d.\n",c?"truth":"lie");
这个如果想改在c++上使用,应该怎么改呢?
我想在网上找,但因为好像搜索引擎不认
?:吧??
我实在没能找到,希望有人能够帮我。。。
2011-10-23 17:24
2011-10-23 17:36
2011-10-24 09:14
2011-10-24 21:35
2011-10-24 21:37
2011-10-24 22:45