English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

C++ (generally pronounced /si plʌs plʌs/) is a general-purpose, high-level programming language with low-level facilities. It is a statically-typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. Since the 1990s, C++ has been one of the most popular commercial programming languages.

Bjarne Stroustrup developed C++ (originally named "C with Classes") in 1983 at Bell Labs as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among other features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. A new version of the standard (known informally as C++0x) is being developed.

Features introduced in C++
Compared to the C language, C++ introduced extra features, including declarations as statements, function-like casts, new/delete, bool, reference types, inline functions, default arguments, function overloading, namespaces, classes (including all class-related features such as inheritance, member functions, virtual functions, abstract classes, and constructors), operator overloading, templates, the :: operator, exception handling, and runtime type identification.

Contrary to popular belief, C++ did not introduce the const keyword first. Const was formally added to C shortly before it was adopted by C++.

C++ also performs more type checking than C in several cases (see "Incompatibility with C" below).

Comments starting with two slashes ("//") were originally part of C's predecessor, BCPL, and were reintroduced in C++.

Several features of C++ were later adopted by C, including declarations in for loops, C++-style comments (using the // symbol), and inline, though the C99 definition of the inline keyword is not compatible with its C++ definition. However, C99 also introduced features that do not exist in C++, such as variadic macros and better handling of arrays as parameters; some C++ compilers may implement some of these features as extensions, but others are incompatible with existing C++ features.

A very common source of confusion is a subtle terminology issue: because of its derivation from C, in C++ the term object means memory area, just like in C, and not class instance, which is what it means in most other object oriented languages. For example, in both C and C++, the statement int i; defines an object of type int, that is the memory area where the value of the variable i will be stored on assignment.

and

Microsoft Visual C++ (also known as MSVC) is an Integrated development environment (IDE) product for the C, C++, and C++/CLI programming languages engineered by Microsoft. It has tools for developing and debugging C++ code, especially that written for the Microsoft Windows API, the DirectX API, and the Microsoft .NET Framework.

Features
Visual C++ boasts features such as syntax highlighting, IntelliSense (a coding autocompletion feature) and advanced debugging functionality. For example, it allows for remote debugging using a separate computer and allows debugging by stepping through code a line at a time. The "edit and continue" functionality allows changing the source code and rebuilding the program during program debugging, without restarting the debugged program.

The compile and build system feature, precompiled header files, "minimal rebuild" functionality and incremental link: these features significantly shorten turn-around time to edit, compile and link the program, especially for large software projects.

You could get more information from the 2 links below...

2006-10-09 23:01:07 · answer #1 · answered by catzpaw 6 · 0 0

C++ is a 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++.

2006-10-09 17:41:36 · answer #2 · answered by mmind 2 · 0 0

C++:
Generally pronounced si plus plus.
Is a general-purpose, high-level programming language with low-level facilities. It is a statically-typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. Since the 1990s, C++ has been one of the most popular commercial programming languages.

Bjarne Stroustrup developed C++ (originally named "C with Classes") in 1983 at Bell Labs as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among other features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. A new version of the standard (known informally as C++0x) is being developed.

Microsoft Visual C++:
Also known as MSVC.
Is an Integrated development environment (IDE) product for the C, C++, and C++/CLI programming languages engineered by Microsoft. It has tools for developing and debugging C++ code, especially that written for the Microsoft Windows API, the DirectX API, and the Microsoft .NET Framework.

Visual C++ boasts features such as syntax highlighting, IntelliSense (a coding autocompletion feature) and advanced debugging functionality. For example, it allows for remote debugging using a separate computer and allows debugging by stepping through code a line at a time. The "edit and continue" functionality allows changing the source code and rebuilding the program during program debugging, without restarting the debugged program.

The compile and build system feature, precompiled header files, "minimal rebuild" functionality and incremental link: these features significantly shorten turn-around time to edit, compile and link the program, especially for large software projects.

2006-10-09 17:36:30 · answer #3 · answered by junaidi71 6 · 0 0

fedest.com, questions and answers