rss
twitter
  •  

C++, VC++ Differences

| Posted in Uncategorized |

0

i have task on C++ :D , so i search for the difference between C++ and visual C++ which you can found in visual studio, i google for some time and found and i hope to share :

  • C++ and VC++ are same – you can use same classes and everything, the only difference is VC++ allows you to make program for windows based machines. C++ does for DOS console only.
  • Visual C++ is Microsoft’s version of the C++ programming language with specific extensions for Windows operating system.
  • C++ was created few years ago, based on another language called C, to solve many of the problems that programmers encountered. At the same time, it was made a (very) powerful language. As it usually happens, C++ solved many problems but also presented its own issues, including some limitations or difficulties. C++ is still widely used and is probably the most popular language in the computer world as it is present on most operating systems. To reduce many of the problems encountered in C++, Microsoft created an enhanced version of C++. This language is sometimes called Managed Extensions For C++. You will find out why the word Managed. As for Extensions, one of this new language’s goals is to "extend" the capabilities of C++ beyond the current functionality of C++. This language is also sometimes called Managed C++.
  • visual C++ is managed environment but C++ is not , what i mean by managed and unmanaged,
    managed means you don’t need to worry about memory management, "like cleaning up memory because there is a garbage collector does this duty for us.
    unmanaged means you must worry about memory management "like when you create object on the heap you have to clean it up manually"
  • C++ is a language and Microsoft Visual C++ is a development environment for the C++ language. It includes a compiler, editor, debugger and much more.The "flavor" of C++ accepted by VC has some Microsoft-specific extensions that may not be accepted by other compilers. Most compilers have such extensions.

Post a comment