answersLogoWhite

0


Best Answer

Well its not clear what kind of errors that you are looking at. Is it programming error or error during execution?

If its programming error then its basically deviation from the standard formats or definitions as defined in C.

User Avatar

Wiki User

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

Wiki User

11y ago

The question is somewhat vague, but C++ errors can be broken down into 5 broad categories: programming errors, compiler errors, linker errors, runtime errors and logical errors.

Programming errors are many and varied, probably the most common source of errors, and can be the most difficult to find (simple typos such as = instead of ==, for instance). Compiler errors and linker errors are easier to deal with as the IDE will generally indicate the source of the problem. Runtime errors are errors that arise while the program is running, often as a result of a missing exception handler or a runaway loop or recursion. Logic errors are a breakdown in the programmer's logic, which can usually be found by using predefined data sets (including garbage data) and checking the results are predictable. Modern programmers usually develop test suites alongside their programs to test every aspect of their program as they go, to ensure the logic holds true at every stage of development. As a result, the chances of breaking existing code unknowingly is greatly reduced.

Runtime errors are sometimes unavoidable, such as "file not found" and "out of memory" errors. These aren't really errors, they are exceptions which must be handled programmatically through exception handling (try..catch..finally) allowing a graceful fall-back from the exception. They only become errors if you do not handle them.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Mostly from the loose nut at the keyboard,

Typing errors (compile time errors).

Don't know what you are doing errors (compile time errors and run time errors).

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

There are three main types of error in C++: compiler errors, linker errors and runtime errors.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the different types of error in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you solve error c plus plus ntvdm CPU illegal?

Use the debugger to locate the error.


How is c plus plus built?

C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.


What is the different of c and c plus plus?

c is procedure oriented and c++ is object oriented & much newer.


What is a primitive type variable in c plus plus?

same the types used in C. that is int...char...float...


How do you fix the Microsoft c plus plus error?

Too many errors possible to say. Please elaborate.

Related questions

How do you solve error c plus plus ntvdm CPU illegal?

Use the debugger to locate the error.


Microsoft visual c plus plus rumetime library runtime error cant access game?

runtime error


A equals 10 b equals a plus plus plus plus plus a?

In C/C++, this code int a = 5; return a+++++a; leads to error. However, writing int a = 5; return (a++ + ++a); returns 12. Note that in other languages "a=5; a+++++a" leads to different results :)


When you install visual c plus plus 2008 express edition it says an error?

Use the Microsoft support website to locate the error message and the solution to the error.


Two hyphae from different mating types come together forming?

plus, minus strains C for plato


Do I need types of design patterns in c plus plus?

No.


What is the different between turbo c plus plus and unix c plus plus?

There is no such thing as 'unix C++'.


Is the syntax between c and c plus plus different?

Yes


How is c plus plus built?

C++ object oriented programming (OOP) language and supports three kinds of object types 1) Fundamental Types. 2) Derived Types. 3) Class Types.


What is the different of c and c plus plus?

c is procedure oriented and c++ is object oriented & much newer.


What is a primitive type variable in c plus plus?

same the types used in C. that is int...char...float...


How do you fix the Microsoft c plus plus error?

Too many errors possible to say. Please elaborate.