似乎从D7以后,在工程属性中有一个"Build Events"功能,利用这个功能可以让IDE在编译前(Pre-Build)或编译后(Post-Build)做一些自定义动作,支持DOS语法。那么,只需要在Post-Build中填写这样一句命令
基于20个网页-相关网页
运行编译后的应用程序。
完成程序编译后,下面的清单2显示了两行命令。
After compilation of the programs come out clean, listing 2 below shows two lines of commands.
对示例场景成功完成编译后,可以看到下面内容。
When the compile completes successfully for the example scenario, you see the following.
In a compiled language, you have an intermediate step, in which you take the source code, it runs through what's called a checker or a compiler or both, and it creates what's called object code.
而在编译语言里,你就会经过一个中间的步骤,在这种语言里输入源码后,先经过过滤器,或者编译器检查后,它会创建一个叫做目标代码的东西。
> That lets the compiler know that you want to use some actual compiled code from that library.
>,那是告诉编译器我们想要在程序库中,使用一些当前的编译后的代码。
应用推荐