code::block 编写了代码却无法运行 CodeBlocks打入代码后无法运行是什么情况?

code\uff1a\uff1ablock \u7f16\u5199\u4e86\u4ee3\u7801\u5374\u65e0\u6cd5\u8fd0\u884c

\u5b89\u88c5MinGW\uff0c\u7136\u540e\u5728\u201c\u8bbe\u7f6e\u201d-\u201c\u7f16\u8bd1\u5668\u548c\u8c03\u8bd5\u5668\u201d-\u9009\u62e9\u5bf9\u5e94\u7684\u7f16\u8bd1\u5668\u3002

\u6216\u8005\u76f4\u63a5\u5378\u8f7d\u4e86\u5f53\u524d\u7684CODE::BLOCK\uff0c\u5b89\u88c5\u4e00\u4e2a\u5e26\u7f16\u8bd1\u5668\u7684CODE::BLOCK

\u5982\u679c\u5b89\u88c5\u4e86\u5e26\u7f16\u8bd1\u5668\u7684codeblocks\uff0c\u8fd8\u662f\u4e0d\u80fd\u7f16\u8bd1\uff0c\u90a3\u53ef\u80fd\u5c31\u662f\u8bbe\u7f6e\u95ee\u9898\u4e86\u3002
\u6253\u5f00codeblocks , \u70b9\u83dc\u5355\u4e2d\u7684 setting \uff0c \u9009\u62e9 compiler and debugger\u3002
\u4f1a\u5f39\u51fa\u4e00\u4e2a\u8bbe\u7f6e\u9875\uff0c\u8bf7\u786e\u8ba4\u53f3\u8fb9\u7684compiler \u9009\u62e9\u7684\u662fGNU GCC Compiler.
\u4e0b\u9762\u6709\u51e0\u4e2a\u6807\u7b7e\u9875\uff0c\u5206\u522b\u662fCompiler setting \uff0c Linker setting ... \u9009\u62e9\u7b2c\u56db\u4e2a\u6807\u7b7e\u9875 Toolchain executables
\u8fd9\u91cc\u8981\u8bbe\u7f6e\u7f16\u8bd1\u5668\u7684\u76ee\u5f55\u3002\u53ef\u4ee5\u5148\u70b9\u53f3\u8fb9\u7684auto detect\uff0c\u8ba9\u7f16\u8bd1\u5668\u81ea\u52a8\u63a2\u6d4b\u8bbe\u7f6e\u3002
\u5982\u679c\u63a2\u6d4b\u5230\u4e86\uff0c\u5f39\u51fa\u7684\u6846\u91cc\u4f1a\u5199 Auto-detected installation path of "GNU GCC Compiler" in "C:\..."
\u5982\u679c\u6ca1\u6709\u63a2\u6d4b\u5230\uff0c\u4e5f\u4f1a\u5f39\u51fa\u4e00\u4e2a\u6846\u7ed9\u51fa\u63d0\u793a\u3002
\u5982\u679c\u81ea\u5df1\u77e5\u9053\u7f16\u8bd1\u5668\u7684\u76ee\u5f55\uff0c\u53ef\u4ee5\u81ea\u5df1\u9009\u62e9\uff0c\u70b9auto detect \u65c1\u8fb9\u7684\u4e09\u4e2a\u70b9\u7684\u6309\u94ae\uff0c\u81ea\u5df1\u9009\u62e9\u76ee\u5f55\u5c31\u884c\u4e86\u3002
\u76f4\u63a5\u628a\u76ee\u5f55\u7684\u8def\u5f84\u590d\u5236\u5230\u90a3\u4e00\u884c\u4e5f\u662f\u53ef\u4ee5\u7684\u3002
\u4e0b\u9762\u7684\u8bbe\u7f6e\uff0c\u6309\u5b89\u88c5\u65f6\u5019\u7684\u521d\u59cb\u503c\uff0c\u4e0d\u9700\u8981\u6539\u53d8\u3002
\u786e\u5b9a\u540e\u5c31\u53ef\u4ee5\u4e86\uff0c\u81ea\u5df1\u53bb\u8bd5\u8bd5hello world \u5427\u3002

安装MinGW,然后在“设置”-“编译器和调试器”-选择对应的编译器。
或者直接卸载了当前的CODE::BLOCK,安装一个带编译器的CODE::BLOCK

扩展阅读:www.sony.com.cn ... codeblocks 绘图 ... code blue ... code block使用教程 ... codeblocks被锁住 ... code blocks运作不了 ... code blocks调成中文 ... c block被禁的歌 ... codeblocks汉化过程 ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网