结果都会输出到那个黑框框里 但是有的IDE只要return 0,就把黑框框关了,有的不会关
[quote=引用 3 楼 weixin_45718499 的回复:] [quote=引用 1 楼 有点贪玩的回复:]搜一下 error LNK1123吧,代码看着没问题
你的程序是不是一个黑框一闪而过? #include <stdio.h> #include <stdlib.h> int main() { char c1, c2; c1 = 65, c2 = 66; printf("%c,%c\n", c1, c2); printf("%d,%d\n", c1, c2); system("pause");//黑框会停住 return 0; } VS2015运行结果
#include <stdio.h> #include <stdlib.h> int main() { char c1, c2; c1 = 65, c2 = 66; printf("%c,%c\n", c1, c2); printf("%d,%d\n", c1, c2); system("pause");//黑框会停住 return 0; }
[quote=引用 1 楼 有点贪玩的回复:]搜一下 error LNK1123吧,代码看着没问题
搜一下 error LNK1123吧,代码看着没问题
文件名最好不要以数字开头
69,371
社区成员
243,080
社区内容
加载中
试试用AI创作助手写篇文章吧