运行c应用程序所需的内容(因为.net应用程序需要类似的框架,c所需的运行时间 [英] what is needed to run a c application (as .net application need framwork similar way what run time is needed for c

查看:103
本文介绍了运行c应用程序所需的内容(因为.net应用程序需要类似的框架,c所需的运行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,先生,您能给我解释一下吗
复制是否需要任何运行时间(因为.net应用程序需要类似c的运行时间一样需要框架)

hello sir can you explain me
Is any run time is needed for c aplication (as .net application need framwork similar way what run time is needed for c )

推荐答案

运行时只是运行C程序的计算机的操作系统.
这就是为什么为Windows计算机编写的程序如果不采取任何特殊措施就无法在linux计算机上运行的原因.
There is a runtime, but the runtime is simply the OS of the machine where the C program runs on.
This is the reason why a program written for a windows machine does not run on a linux machine without taking any special actions.


不,C是一种经过编译和链接的语言,在链接阶段之后创建一个exe文件.

您将需要确保所有依赖项都存在:假设您使应用程序使用DL​​L进行工作,那么该DLL将需要位于应用程序期望的位置.

除此之外,您将不需要任何其他功能.

祝你好运!
No, C is a compiled and linked language that after link stage creates an exe file.

You will need to ensure that all the dependencies are there: imagine you make the app to work using a DLL, then that DLL will need to be in the place your app expects it to be.

Apart of that you won''t need anything else.

Good luck!


这篇关于运行c应用程序所需的内容(因为.net应用程序需要类似的框架,c所需的运行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆