“VC++”和“C++”有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/197461/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference between "VC++" and "C++"?
提问by MrDatabase
Someone asked me how familiar I am with VC++ and how familiar I am with C++. What is the difference?
有人问我对VC++有多熟悉,对C++有多熟悉。有什么不同?
回答by ConroyP
C++ is the actual language, VC++ is Microsoft's Visual C++, an IDE for C++ development.
C++ 是实际的语言,VC++ 是微软的 Visual C++,一个用于 C++ 开发的 IDE。
From stason.org:
来自stason.org:
C++ is the programming language, Visual C++ is Microsoft's implementation of it.
When people talk about learning Visual C++, it usually has more to do with learning how to use the programming environment, and how to use the Microsoft Foundation Classes (MFCs) for Windows rather than any language issues. Visual C++ can and will compile straight C and C++.
C++ 是编程语言,Visual C++ 是微软对它的实现。
当人们谈论学习 Visual C++ 时,更多的是学习如何使用编程环境,以及如何使用 Windows 的 Microsoft 基础类 (MFC),而不是任何语言问题。Visual C++ 可以并且将会直接编译 C 和 C++。
回答by Konrad Rudolph
C++ is the name of a programming language that has been approved by international standards committees (ANSI/ISO).
C++ 是一种已被国际标准委员会 (ANSI/ISO) 批准的编程语言的名称。
VC++ (“Visual C++”) is the product name of Microsoft's C++ compiler and sometimes, but not officially, the IDE it's shipped with (“Visual Studio”).
VC++(“Visual C++”)是微软的 C++ 编译器的产品名称,有时,但不是官方的,它是随附的 IDE(“Visual Studio”)。
回答by dguaraglia
Well, Visual C++ used to stand for the Microsoft C++ compiler plus the MFC library. Basically there's no difference in the language itself, but VC++ includes a library, and some IDE support, for easily building GUIs.
嗯,Visual C++ 曾经代表 Microsoft C++ 编译器和 MFC 库。语言本身基本上没有区别,但 VC++ 包含一个库和一些 IDE 支持,用于轻松构建 GUI。
回答by koli
vc++ is a development environment and c++ is a language
vc++是开发环境,c++是语言
回答by Tim Sharrock
VC++ means different things to different people. You can use the Visual Studio environment to build (almost) standard C++ applications. You can also use it for Micrososft-specific additions - which vary from version to version. For example, the MFC components for windows applications, or the newer C++/CLI for .NET applications
VC++ 对不同的人意味着不同的东西。您可以使用 Visual Studio 环境来构建(几乎)标准的 C++ 应用程序。您还可以将它用于特定于 Micrososft 的添加 - 因版本而异。例如,用于 Windows 应用程序的 MFC 组件,或用于 .NET 应用程序的较新的 C++/CLI
回答by Matt J
VC++ is short for Visual C++, and is an IDE (integrated development environment) developed by Microsoft, included as part of Visual Studio. C++ is a language.
VC++ 是 Visual C++ 的缩写,是微软开发的 IDE(集成开发环境),作为 Visual Studio 的一部分包含在内。C++是一种语言。
回答by Simon
C++ is a language, VC++ (Visual C++) is a Microsoft development environment which was a forerunner to Visual Studio which helps you write C++.
C++ 是一种语言,VC++(Visual C++)是一种微软开发环境,它是 Visual Studio 的先驱,它可以帮助您编写 C++。
You can know everything there is to know about C++ and never have seen VC++.
您可以了解有关 C++ 的所有知识,但从未见过 VC++。
回答by vikky
VC++ is IDE developed by Microsoft using microsoft c++ compiler.while C++ is the programming language.
VC++是微软使用microsoft c++编译器开发的IDE。而C++是编程语言。
回答by Eark
In some cases, they refer to its corresponding C++implementation and its compilers.
在某些情况下,它们指的是其相应的C++实现及其编译器。
C++refers to standard headers/functions and its GCC C++compiler.
VC++refers to Microsoft implementation of C++standard and its VC++compiler.
C++指的是标准头文件/函数及其GCC C++编译器。
VC++是指微软对C++标准的实现及其VC++编译器。
They are not compatible with each other. Linux network/threading functions, numeric data types are different than its Windows counterpart. You can't compile Linux C++code directly in Windows without using third-party GCC ports such as Cygwin/MinGW.
它们彼此不兼容。Linux 网络/线程函数、数字数据类型与其 Windows 对应物不同。如果不使用 Cygwin/MinGW 等第三方 GCC 端口,则无法直接在 Windows 中编译 Linux C++代码。
Most academic/research tools and libraries are written in C++ (GCC), and one will have the hard time to compile those in VC++.
大多数学术/研究工具和库都是用C++ (GCC)编写的,并且很难用VC++编译它们。
回答by Alfred Manoj
Visual C++ and C++ are two entirely different things. They are related, though.
Visual C++ 和 C++ 是两个完全不同的东西。不过,它们是相关的。
C++ is a high-level programming language that a compiler translates into machine code a computer can understand and execute.
C++ 是一种高级编程语言,编译器将其翻译成计算机可以理解和执行的机器代码。
Visual C++ is a tool created by Microsoft to make writing, compiling and debugging C++ source code easier. Visual C++ is an Integrated Development Environment (IDE).
Visual C++ 是 Microsoft 创建的工具,用于简化 C++ 源代码的编写、编译和调试。Visual C++ 是一个集成开发环境 (IDE)。