KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am a Microsoft Visual Studio user. My question is about the "C/C++ Runtime Library". I created an "Empty Project" with a ".cpp" source file "main.cpp" containing the following code: #include <iostream> int main(void) { std::cout << "Hello World" << std::endl; return 0; } "iostream is a header file which is used for input/output in the C++ programming language. It is part of the C++ standard library." Is there a difference between "C/C++ Runtime Library" and "C/C++ Standard Library"? How do I know if the "C/C++ Runtime Library" library is statically or dynamically linked to the project? How do I know where this library is located in the filesystem? In case, the "C/C++ Runtime Library" is dynamically linked to the project, how can I know which ".dll" is used and where the used ".dll" is located in the filesystem? Suppose that I statically link the "C/C++ Runtime Library" to the project, can I be sure that the executable generated from the source code will work on all Windows Platforms (XP/Vista/Seven/..., 32 bit/64 bit)? What are the advantages/drawbacks of dynamically linking the "C/C++ Runtime Library" to the project? Should the "C/C++ Runtime Library" rather be statically or dynamically linked to the project?
Tags (comma-separated)
Save Edits
Cancel