不是 Dos窗口没关闭会编译失败的 LZ是说弹出了“恭喜你编译成功” 的对话框,但是没出现Dos窗体 |
我也遇到类似的情况,可能是运行的dos窗口没有关闭,关闭后再运行就可以了 |
本帖最后由 stu 于 2013-12-11 15:07 编辑 刚测试了下 还有这种限制... 另外看这段代码 #include <stdio.h> #include <stdlib.h> int main() { int a,b,c; a=32.1; b=12.3; c=b-a; printf("%f",c); system("pause"); return 0; } 只是改成浮点型 输出结果居然是0.0000000 这样的一行 是怎么回事? |
那这段也是 #include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { int a,b,c; a=321; b=123; c=b-a; printf("%d",c); system("pause"); return 0; } 为何加减法阿哈C软件编译通过不显示输出结果? 保存格式为 2.6.11.c |
或者特殊字符 |
你保存的文件名应该有
|