C ++应用程序需要运行什么? [英] What does a C++ application needs to run?

查看:219
本文介绍了C ++应用程序需要运行什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C ++应用程序需要运行什么?

我听说一个简单的应用程序只需要Windows操作系统中的msvcrt.dll吗?



其他操作系统怎么样?



我的第二个问题是,msvcrt是用什么语言编写的?



TIA

What does a C++ application needs to run?
I've heard that a simple one just needs msvcrt.dll in Windows OS?

What about other Operating Systems?

also my 2nd question is that,msvcrt is written in what language?

TIA

推荐答案

我向您保证:这不紧急。在您的知识水平,没有人严重依赖您的结果。你只需要更加现实。 :-)在所有情况下,对任何人来说都不紧急,也许除了你的。请不要试图催促志愿者。



答案:这取决于。应用程序或库甚至可能不需要msvcrt.dll。但是为Windows编译的应用程序需要Windows,具有兼容的CPU指令集架构。如果它是Linux编译器,它需要Linux。甚至可执行文件格式也不同。



-SA
Let me assure you: this is not urgent. At your level of knowledge, no one critically depends on your results. You just need to be more realistic. :-) In all cases, its not urgent at all for anyone, perhaps except your. Please don't try to urge people who are volunteering.

The answer: it depends. The application or library may not even require msvcrt.dll. But application compiled for Windows needs Windows, with compatible CPU instruction-set architecture. If it is compiler o Linux, it requires Linux. Even the executable file formats are different.

—SA


1。它取决于应用程序以及应用程序使用的库。当您停止编译器及其相关库时,它涵盖了所有标准功能。

2.它们可能是用C语言编写的,带有一些汇编程序。



将来当你匆忙时,试着为自己做一些研究。
1. It depends on the application and what libraries the application makes use of. When you in stall a compiler and its associated libraries it covers all the 'standard' features.
2. They are probably written in C with some assembler.

In future when you are in a hurry try doing some research for yourself.


这篇关于C ++应用程序需要运行什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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