answersLogoWhite

0


Best Answer

C++ is a general purpose, cross platform, object-oriented programming language that compiles to native machine code. Although it supports OOP, it does not rely on it. You can mix C++ code with C-style code and even Assembly Language routines.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

The compiler is a machine code program that was originally written in C. Nowadays, new C++ compilers are written using C++ itself, using the previous compiler to compile the next. Each platform and IDE has its own specific compiler and all are developed separately. The only criteria is that they conform to the C++ standard.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Static typing simply means the C++ compiler is capable of weeding out the majority of type errors (incorrect casts, calling non-existent member methods or functions, and so on), which eliminates a lot of problems that would otherwise need to be handled at runtime (dynamic typing), which is inefficient and prone to error. However, it should be noted that C++ does not enforce static typing strictly. Pointer casts and unions, for instance, can easily violate the static typing. At best, C++ can be described as pseudo statically typed as much of the responsibility lies with the programmer to ensure he/she uses static typing as much as possible, and to avoid using dynamic casts and unions unless it is absolutely necessary. The bottom line is that the more errors you can eliminate at compile time, the fewer problems you will encounter at runtime, and therefore the fewer runtime checks you need to make. The ideal is to not have to perform any runtime checks at all, thus ensuring your code is as efficient as possible. Thus you need only worry about the program's logic, not introduce silly little mistakes that the compiler could have easily highlighted for you.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

There are no separate typed and untyped languages in C++, it is all the one typed language. Typed simply means that every variable and constant must have a built-in type (int, char, float, etc, or a pointer to a type) or a user-defined type (a typedef or class). Where the type is undetermined, a void pointer may be used (which is itself a type), but this requires expensive runtime type information to determine the actual type being pointed at. Typed languages such as C++ are more efficient than untyped languages, but untyped languages are much easier to program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the language of compiler of c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is g plus plus similar to c plus plus?

G++ is the Gnu compiler's extension for C++. It is not a different language. It simply allows you to use the GCC compiler to write C++ code.


Is there any difference between turbo c and c plus plus?

turbo c is a compiler and c++ is a programming language.


What are the three c plus plus programming language components?

The editor, compiler and linker.


Is C plus plus an application program?

No. C++ is a computer language. The development system supporting it is a compiler, linker, editor, debugger, etc.No it is a programming language.


Which compiler is used for writing c plus plus exception handling programs?

C++ compiler, obviously, a C compiler won't do.


How do you build c plus plus programs using netbeans IDE?

Netbeans is primarily a code editor and Java compiler. Although it supports the C++ language, it has no C++ compiler or linker. For that you must provide your own.


With the aid of a diagram illustrate how the c plus plus compiler works?

With the aid of a diagram,illustrate how the c plus plus compiler works?


What is the assembler of java c plus plus c and asp.net?

There is no such thing. An "assembler" is a program that converts assembly language code, into machine language. Other programming languages have a "compiler", which is more or less equivalent.


Does c sharp work on c or c plus plus compilers or you need a c sharp compiler?

They are different languages, each of them requires its own compiler.


How do you install c plus plus in 64bits window7home?

You cannot install a programming language on your computer, only a particular compiler. Pick one.


What is programming languages in c plus plus?

Programming in C++ means designing and writing a computer program using the C++ programming language. C++ is a high-level, machine-independent language which must be converted into machine-dependent code by a compiler.


How can you make c and c plus plus language compatible with 64 bit operating system?

Language definitions (specifications) are independent of any Operating System. That is, neither the C nor C++ language specification has any dependence on a specific Operating System's features or the underlying hardware platform.However, when implementing a C or C++ compiler on a specific Operating System and hardware platform, a variety of choices must be made. The Compiler implements the C or C++ language specification. Those specifications often give the compiler a choice in how to allow a certain feature to behave.The most common choice is the default size of and Int and a Pointer. Neither the C++ nor C language require a certain specific size, and thus, compiler designers are free to chose.