This question already has an answer here:
这个问题已经有了答案:
- What is the difference between “VC++” and “C++”? 10 answers
- “VC++ +”和“c++”有什么区别?10个答案
What is the difference between C++ and Visual C++?
c++和Visual c++有什么区别?
I know that C++ has the portability and all, so if you know C++ how is it related to Visual C++? Is Visual C++ mostly for online apps? Would Visual Basic be better for desktop applications?
我知道c++具有可移植性,所以如果你知道c++与Visual c++有什么关系呢?Visual c++主要用于在线应用程序吗?Visual Basic对桌面应用程序更好吗?
7 个解决方案
#1
50
C++ is a standardized language. VC++ is a product that more or less implements that standard. You can write portable c++ using vc++, but you can also use Microsoft-only extensions that destroy your portability but enhance your productivity. This is a trade-off. You have to decide what appeals most to you. I've maintained big desktop apps that were written in vc++, so that is perfectly feasible. From what I know of VB, the main advantage seems to be that the first part of the development cycle may be done faster than when using vc++, but as the complexity of a project increases, c++ programs tend to be more maintainable (if the programmers are striving for maintainability, that is).
c++是一种标准化语言。vc++是一个或多或少实现了这个标准的产品。您可以使用vc++编写可移植的c++,但也可以使用仅支持microsoft的扩展来破坏您的可移植性,但提高您的生产力。这是一个权衡。你必须决定什么最吸引你。我维护了用vc++编写的大型桌面应用程序,所以这是完全可行的。从我所知道的VB,主要优势似乎是第一部分的开发周期可能比当使用vc++完成,但是随着项目的复杂度增加,c++程序往往是更易于维护(如果程序员追求可维护性,)。
#2
41
C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named "C with Classes". It was renamed to C++ in 1983.
c++是一种通用编程语言。它被认为是一种中级语言,因为它包含高级和低级语言特性的组合。它由Bjarne Stroustrup于1979年在Bell实验室开发,作为对C编程语言的改进,最初命名为“带有类的C”。1983年改名为c++。
C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
c++广泛应用于软件行业。它的一些应用领域包括系统软件、应用软件、设备驱动程序、嵌入式软件、高性能服务器和客户端应用程序,以及娱乐软件,如视频游戏。一些团体提供免费和专有的c++编译软件,包括GNU项目,微软,英特尔,Borland和其他。
Microsoft Visual C++ (often abbreviated as MSVC or VC++) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.
Microsoft Visual c++(通常缩写为MSVC或VC++ ++)是微软针对C、c++和c++ /CLI编程语言开发的集成开发环境(IDE)产品。MSVC专有软件;它最初是一个独立的产品,但后来成为Visual Studio的一部分,并以trialware和freeware两种形式提供。它提供了开发和调试c++代码的工具,特别是为Windows API、DirectX和。net框架编写的代码。
So the main difference between them is that they are different things. The former is a programming language, while the latter is a commercial integrated development environment (IDE).
它们的主要区别在于它们是不同的东西。前者是一种编程语言,而后者是一种商业集成开发环境(IDE)。
#3
22
C++ is a programming language and Visual C++ is an IDE for developing with languages such as C and C++.
c++是一种编程语言,Visual c++是一种IDE,用于开发C和c++等语言。
VC++ contains tools for, amongst others, developing against the .net framework and the Windows API.
vc++包含了针对。net框架和Windows API开发的工具。
#4
16
C++ is a language and Visual C++ is a compiler for that language. Certainly, it (and every other compiler) introduces tiny modifications to the language, but the language recognized is mainly the same.
c++是一种语言,Visual c++是该语言的编译器。当然,它(和其他所有编译器)会对语言进行微小的修改,但是所识别的语言基本上是相同的。
#5
11
VC++ is not actually a language but is commonly referred to like one. When VC++ is referred to as a language, it usually means Microsoft's implementation of C++, which contains various knacks that do not exist in regular C++, such as the __super
keyword. It is similar to the various GNU extensions to the C language that are implemented in GCC.
vc++实际上并不是一种语言,但通常被称为一种语言。当vc++被称为一种语言时,它通常指的是Microsoft的c++实现,它包含了常规c++中不存在的各种技巧,例如__super关键字。它类似于在GCC中实现的C语言的各种GNU扩展。
#6
7
What is the difference between c++ and visaul c++?
c++和visaul c++有什么区别?
Visual C++ is an IDE. There's also C++Builder from Embarcadero. (Used to be Borland.) There are also a few other C++ IDE's.
Visual c++是一个IDE。还有来自Embarcadero的c++ Builder。(曾经是宝蓝。)还有一些其他的c++ IDE。
I know that c++ has the portability and all so if you know c++ how is it related to visual c++?
我知道c++具有可移植性,所以如果你知道c++,它与visual c++有什么关系?
C++ is as portable as the libraries that you use in your C++ application. VC++ has some specialized libraries to use with Windows, so if you use those libraries in your C++ application, you're stuck with Windows. But a simple "Hello, World" application that just uses the console as output can be compiled on Windows, Linux, VMS, AS/400, Smartphones, FreeBSD, MS-DOS, CP80 and almost any other system for which you can find a C++ compiler. Injteresting fact: at http://nethack.org/ you can download the C sourcecode for an almost antique game, where you have to walk through a bunch of mazes, kick some monsters around, find treasures and steal some valuable amulet and bring that amulet back out. (It's also a game where you can encounter your characters from previous, failed attempts to get that amulet. :-) The sourcecode of NetHack is a fine example of how portable C (C++) code can be.
c++和您在c++应用程序中使用的库一样具有可移植性。vc++有一些专门的库可用于Windows,所以如果您在c++应用程序中使用这些库,那么您将无法使用Windows。但是,一个简单的“Hello, World”应用程序只需使用控制台作为输出,就可以在Windows、Linux、vm、as /400、智能手机、FreeBSD、MS-DOS、CP80以及几乎任何其他可以找到c++编译器的系统上编译。注:在http://nethack.org/你可以下载一个几乎是古董游戏的C sourcecode,在那里你必须穿过一堆迷宫,踢一些怪物,找到宝藏,偷一些有价值的护身符,然后把护身符拉出来。(这也是一个游戏,你可以在游戏中遇到你以前的角色,尝试获得那个护身符失败了。:-)NetHack的sourcecode是一个很好的例子,说明了可移植的C (c++)代码是怎样的。
Is visual c++ mostly for online apps?
visual c++主要用于在线应用程序吗?
No. But it can be used for online apps. Actually, C# is used more often for server-side web applications while C++ (VC++) is used for all kinds of (server) components that your application will be depending upon.
不。但它可以用于在线应用。实际上,c#更常用于服务器端web应用程序,而c++ (vc++)用于应用程序所依赖的所有(服务器)组件。
Would visual basic be better for desktop applications?
visual basic对桌面应用程序更好吗?
Or Embarcadero Delphi. Delphi and Basic are languages that are easier to learn than C++ and both have very good IDE's to develop GUI applications with. Unfortunately, Visual Basic is now running on .NET only, while there are still many developers who need to create WIN32 applications. Those developers often have to choose between Delphi or C++ or else convince management to move to .NET development.
或内河码头Delphi。Delphi和Basic是比c++更容易学习的语言,它们都有很好的IDE来开发GUI应用程序。不幸的是,Visual Basic现在只在。net上运行,而仍然有许多开发人员需要创建WIN32应用程序。这些开发人员通常必须在Delphi或c++之间做出选择,或者说服管理层转向。net开发。
#7
5
Key differences:
关键的不同点:
C++ is a general-purpose programming language, but is developed from the originally C programming language. It was developed by Bjarne Stroustrup at Bell Labs starting in 1979. C++ was originally named C with Classes. It was renamed C++ in 1983.
c++是一种通用编程语言,但它是从最初的C编程语言发展而来的。它是由贝尔实验室的Bjarne Stroustrup从1979年开始开发的。c++最初被命名为带有类的C。它在1983年改名为c++。
Visual C++, on the other hand, is not a programming language at all. It is in fact a development environment. It is an “integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages.” Microsoft Visual C++, also known as MSVC or VC++, is sold as part of the Microsoft Visual Studio app.
另一方面,Visual c++根本不是一种编程语言。它实际上是一个开发环境。它是微软为C、c++和c++ /CLI编程语言开发的集成开发环境(IDE)产品。微软Visual C++也被称为MSVC或VC++ +,是微软Visual Studio应用程序的一部分。
#1
50
C++ is a standardized language. VC++ is a product that more or less implements that standard. You can write portable c++ using vc++, but you can also use Microsoft-only extensions that destroy your portability but enhance your productivity. This is a trade-off. You have to decide what appeals most to you. I've maintained big desktop apps that were written in vc++, so that is perfectly feasible. From what I know of VB, the main advantage seems to be that the first part of the development cycle may be done faster than when using vc++, but as the complexity of a project increases, c++ programs tend to be more maintainable (if the programmers are striving for maintainability, that is).
c++是一种标准化语言。vc++是一个或多或少实现了这个标准的产品。您可以使用vc++编写可移植的c++,但也可以使用仅支持microsoft的扩展来破坏您的可移植性,但提高您的生产力。这是一个权衡。你必须决定什么最吸引你。我维护了用vc++编写的大型桌面应用程序,所以这是完全可行的。从我所知道的VB,主要优势似乎是第一部分的开发周期可能比当使用vc++完成,但是随着项目的复杂度增加,c++程序往往是更易于维护(如果程序员追求可维护性,)。
#2
41
C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named "C with Classes". It was renamed to C++ in 1983.
c++是一种通用编程语言。它被认为是一种中级语言,因为它包含高级和低级语言特性的组合。它由Bjarne Stroustrup于1979年在Bell实验室开发,作为对C编程语言的改进,最初命名为“带有类的C”。1983年改名为c++。
C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
c++广泛应用于软件行业。它的一些应用领域包括系统软件、应用软件、设备驱动程序、嵌入式软件、高性能服务器和客户端应用程序,以及娱乐软件,如视频游戏。一些团体提供免费和专有的c++编译软件,包括GNU项目,微软,英特尔,Borland和其他。
Microsoft Visual C++ (often abbreviated as MSVC or VC++) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.
Microsoft Visual c++(通常缩写为MSVC或VC++ ++)是微软针对C、c++和c++ /CLI编程语言开发的集成开发环境(IDE)产品。MSVC专有软件;它最初是一个独立的产品,但后来成为Visual Studio的一部分,并以trialware和freeware两种形式提供。它提供了开发和调试c++代码的工具,特别是为Windows API、DirectX和。net框架编写的代码。
So the main difference between them is that they are different things. The former is a programming language, while the latter is a commercial integrated development environment (IDE).
它们的主要区别在于它们是不同的东西。前者是一种编程语言,而后者是一种商业集成开发环境(IDE)。
#3
22
C++ is a programming language and Visual C++ is an IDE for developing with languages such as C and C++.
c++是一种编程语言,Visual c++是一种IDE,用于开发C和c++等语言。
VC++ contains tools for, amongst others, developing against the .net framework and the Windows API.
vc++包含了针对。net框架和Windows API开发的工具。
#4
16
C++ is a language and Visual C++ is a compiler for that language. Certainly, it (and every other compiler) introduces tiny modifications to the language, but the language recognized is mainly the same.
c++是一种语言,Visual c++是该语言的编译器。当然,它(和其他所有编译器)会对语言进行微小的修改,但是所识别的语言基本上是相同的。
#5
11
VC++ is not actually a language but is commonly referred to like one. When VC++ is referred to as a language, it usually means Microsoft's implementation of C++, which contains various knacks that do not exist in regular C++, such as the __super
keyword. It is similar to the various GNU extensions to the C language that are implemented in GCC.
vc++实际上并不是一种语言,但通常被称为一种语言。当vc++被称为一种语言时,它通常指的是Microsoft的c++实现,它包含了常规c++中不存在的各种技巧,例如__super关键字。它类似于在GCC中实现的C语言的各种GNU扩展。
#6
7
What is the difference between c++ and visaul c++?
c++和visaul c++有什么区别?
Visual C++ is an IDE. There's also C++Builder from Embarcadero. (Used to be Borland.) There are also a few other C++ IDE's.
Visual c++是一个IDE。还有来自Embarcadero的c++ Builder。(曾经是宝蓝。)还有一些其他的c++ IDE。
I know that c++ has the portability and all so if you know c++ how is it related to visual c++?
我知道c++具有可移植性,所以如果你知道c++,它与visual c++有什么关系?
C++ is as portable as the libraries that you use in your C++ application. VC++ has some specialized libraries to use with Windows, so if you use those libraries in your C++ application, you're stuck with Windows. But a simple "Hello, World" application that just uses the console as output can be compiled on Windows, Linux, VMS, AS/400, Smartphones, FreeBSD, MS-DOS, CP80 and almost any other system for which you can find a C++ compiler. Injteresting fact: at http://nethack.org/ you can download the C sourcecode for an almost antique game, where you have to walk through a bunch of mazes, kick some monsters around, find treasures and steal some valuable amulet and bring that amulet back out. (It's also a game where you can encounter your characters from previous, failed attempts to get that amulet. :-) The sourcecode of NetHack is a fine example of how portable C (C++) code can be.
c++和您在c++应用程序中使用的库一样具有可移植性。vc++有一些专门的库可用于Windows,所以如果您在c++应用程序中使用这些库,那么您将无法使用Windows。但是,一个简单的“Hello, World”应用程序只需使用控制台作为输出,就可以在Windows、Linux、vm、as /400、智能手机、FreeBSD、MS-DOS、CP80以及几乎任何其他可以找到c++编译器的系统上编译。注:在http://nethack.org/你可以下载一个几乎是古董游戏的C sourcecode,在那里你必须穿过一堆迷宫,踢一些怪物,找到宝藏,偷一些有价值的护身符,然后把护身符拉出来。(这也是一个游戏,你可以在游戏中遇到你以前的角色,尝试获得那个护身符失败了。:-)NetHack的sourcecode是一个很好的例子,说明了可移植的C (c++)代码是怎样的。
Is visual c++ mostly for online apps?
visual c++主要用于在线应用程序吗?
No. But it can be used for online apps. Actually, C# is used more often for server-side web applications while C++ (VC++) is used for all kinds of (server) components that your application will be depending upon.
不。但它可以用于在线应用。实际上,c#更常用于服务器端web应用程序,而c++ (vc++)用于应用程序所依赖的所有(服务器)组件。
Would visual basic be better for desktop applications?
visual basic对桌面应用程序更好吗?
Or Embarcadero Delphi. Delphi and Basic are languages that are easier to learn than C++ and both have very good IDE's to develop GUI applications with. Unfortunately, Visual Basic is now running on .NET only, while there are still many developers who need to create WIN32 applications. Those developers often have to choose between Delphi or C++ or else convince management to move to .NET development.
或内河码头Delphi。Delphi和Basic是比c++更容易学习的语言,它们都有很好的IDE来开发GUI应用程序。不幸的是,Visual Basic现在只在。net上运行,而仍然有许多开发人员需要创建WIN32应用程序。这些开发人员通常必须在Delphi或c++之间做出选择,或者说服管理层转向。net开发。
#7
5
Key differences:
关键的不同点:
C++ is a general-purpose programming language, but is developed from the originally C programming language. It was developed by Bjarne Stroustrup at Bell Labs starting in 1979. C++ was originally named C with Classes. It was renamed C++ in 1983.
c++是一种通用编程语言,但它是从最初的C编程语言发展而来的。它是由贝尔实验室的Bjarne Stroustrup从1979年开始开发的。c++最初被命名为带有类的C。它在1983年改名为c++。
Visual C++, on the other hand, is not a programming language at all. It is in fact a development environment. It is an “integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages.” Microsoft Visual C++, also known as MSVC or VC++, is sold as part of the Microsoft Visual Studio app.
另一方面,Visual c++根本不是一种编程语言。它实际上是一个开发环境。它是微软为C、c++和c++ /CLI编程语言开发的集成开发环境(IDE)产品。微软Visual C++也被称为MSVC或VC++ +,是微软Visual Studio应用程序的一部分。