简体   繁体   English

“VC ++”和“C ++”有什么区别?

[英]What is the difference between “VC++” and “C++”?

Someone asked me how familiar I am with VC++ and how familiar I am with C++. 有人问我对VC ++的熟悉程度以及我对C ++的熟悉程度。 What is the difference? 有什么不同?

C++ is the actual language, VC++ is Microsoft's Visual C++, an IDE for C++ development. C ++是实际的语言,VC ++是Microsoft的Visual C ++,一种用于C ++开发的IDE。

From stason.org : 来自stason.org

C++ is the programming language, Visual C++ is Microsoft's implementation of it. C ++是编程语言,Visual C ++是微软的实现。

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 ++时,它通常更多地涉及学习如何使用编程环境,以及如何使用Windows的Microsoft基础类(MFC)而不是任何语言问题。 Visual C++ can and will compile straight C and C++. Visual C ++可以并且将直接编译C和C ++。

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 ++”)是Microsoft的C ++编译器的产品名称,有时,但不是正式的,它附带的IDE(“Visual Studio”)。

Well, Visual C++ used to stand for the Microsoft C++ compiler plus the MFC library. 好吧,Visual C ++曾经代表Microsoft C ++编译器和MFC库。 Basically there's no difference in the language itself, but VC++ includes a library, and some IDE support, for easily building GUIs. 基本上语言本身没有区别,但VC ++包含一个库和一些IDE支持,可以轻松构建GUI。

vc ++是一个开发环境,c ++是一种语言

VC++ means different things to different people. VC ++对不同的人意味着不同的东西。 You can use the Visual Studio environment to build (almost) standard C++ applications. 您可以使用Visual Studio环境构建(几乎)标准C ++应用程序。 You can also use it for Micrososft-specific additions - which vary from version to version. 您还可以将它用于特定于Micrososft的添加 - 这些添加因版本而异。 For example, the MFC components for windows applications, or the newer C++/CLI for .NET applications 例如,Windows应用程序的MFC组件,或.NET应用程序的较新C ++ / CLI

VC++ is short for Visual C++, and is an IDE (integrated development environment) developed by Microsoft, included as part of Visual Studio. VC ++是Visual C ++的缩写,是由Microsoft开发的IDE(集成开发环境),作为Visual Studio的一部分。 C++ is a language. C ++是一种语言。

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 ++)是一个Microsoft开发环境,它是Visual Studio的先驱,它可以帮助您编写C ++。

You can know everything there is to know about C++ and never have seen VC++. 您可以了解有关C ++的所有知识,而且从未见过VC ++。

VC ++是由Microsoft使用microsoft c ++编译器开发的IDE。而C ++是编程语言。

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. C ++指的是标准头文件/函数及其GCC C ++编译器。

VC++ refers to Microsoft implementation of C++ standard and its VC++ compiler. VC ++是指Microsoft实现的C ++标准及其VC ++编译器。

They are not compatible with each other. 它们彼此不兼容。 Linux network/threading functions, numeric data types are different than its Windows counterpart. Linux网络/线程功能,数字数据类型与Windows对应的不同。 You can't compile Linux C++ code directly in Windows without using third-party GCC ports such as Cygwin/MinGW. 如果不使用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 ++编译它们。

Visual C++ and C++ are two entirely different things. Visual C ++和C ++是两个完全不同的东西。 They are related, though. 但它们是相关的。

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 ++是Microsoft创建的一个工具,可以更轻松地编写,编译和调试C ++源代码。 Visual C++ is an Integrated Development Environment (IDE). Visual C ++是一个集成开发环境(IDE)。

http://www.cplusplus.com/forum/beginner/172353/ http://www.cplusplus.com/forum/beginner/172353/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM