shaoshao 发表于 2014-1-23 15:36
#include
#include
#include
这样若误写成1=a,则编译器会报错,指出不能给常量赋值。复制代码
- if(1==a)
- {
- //……
- }
981013 发表于 2014-1-24 12:40
a=0意为把0赋给变量a,此时该表达式的值始终为0,因此3个if都不匹配,程序直接开始执行Sleep(5000);然 ...
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/) | Powered by Discuz! X3.2 |