Click here to Skip to main content
15,173,506 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
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
Posted
Updated 27-Aug-14 6:26am
v2

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
   
Comments
AmiR1999 27-Aug-14 15:03pm
   
Thank you,sorry again but is it true that c++ standard library is all in msvcrt.dll? so why Visual C++ Redistributables is needed?
AmiR1999 27-Aug-14 15:59pm
   
Wow! So C++ Standard Library is different from C/C++ Runtime! yeah?
Sergey Alexandrovich Kryukov 27-Aug-14 16:00pm
   
What do you mean?
C++ libraries are different from C, because C++ libraries are generic-based and OO; and the include C libraries. :-)
—SA
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.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900