answersLogoWhite

0


Best Answer

There is no such thing as a runtime checking mechanism in C++. The compiler can only catch compile time errors. You must provide any additional checks yourself, to handle any exceptions that may occur at runtime. Failure to handle an exception results in an exception error at runtime. The end result is that the program crashes but, if debug information is available, you can easily locate the source of the exception and thus determine how best to provide a handler for it. But this mechanism is not handled by C++ itself, it is handled by the debugger.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is this run time checking mechanism done by c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Inversion of Four-bar mechanism?

Inversion of a mechanism is done by fixing a different link each time and studying the motion of the other links therefore.


What is static type checking?

Static type checking is type checking that can be done at compile time at no runtime cost, as opposed to dynamic type checking which can only be done at runtime. Dynamic type checking is most commonly utilised when you hold a pointer to a base class of a polymorphic type, but where you need to know the actual type at runtime. However, dynamic type checking can largely be avoided by utilising virtual functions to implement a common interface. In this way, you get the correct behaviour without needing to know the actual type. Although virtual functions come with a (small) cost in terms of memory consumption and performance, the cost is trivial compared to dynamic type checking.


What is inversion of mechanism?

Inversion of a kinematic linkage or mechanism is observing the motion of the members of the mechanism with fixing different links as reference frame. Each time when a different link is chose as the frame link the mechanism shows different characteristics of the motion.


What is the running time for an insertion at the front of an n- element singly linked list in c plus plus?

Add to the front is constant time O(1). Adding to the end is linear time O(n). If the list maintains a pointer to the last node (as well as the first node), insertions can be done at either end in constant time.


How do you prolong a water pump's life?

Making general inspection on water pumps one time a week, which is done by the professional staff s who is responsible of checking pumps. What is more important, doing a comprehensive maintenance every six months.

Related questions

Inversion of Four-bar mechanism?

Inversion of a mechanism is done by fixing a different link each time and studying the motion of the other links therefore.


How can you say that delegates are type safe?

The type checking is done at compile time, not run time. So, if a wrong type (return or parameter) have been assigned, it will fail to compile, and the program will not run.


What is static type checking?

Static type checking is type checking that can be done at compile time at no runtime cost, as opposed to dynamic type checking which can only be done at runtime. Dynamic type checking is most commonly utilised when you hold a pointer to a base class of a polymorphic type, but where you need to know the actual type at runtime. However, dynamic type checking can largely be avoided by utilising virtual functions to implement a common interface. In this way, you get the correct behaviour without needing to know the actual type. Although virtual functions come with a (small) cost in terms of memory consumption and performance, the cost is trivial compared to dynamic type checking.


Is using alcohol during time of stress a positive coping mechanism?

No it is a negative coping mechanism.


What is inversion of mechanism?

Inversion of a kinematic linkage or mechanism is observing the motion of the members of the mechanism with fixing different links as reference frame. Each time when a different link is chose as the frame link the mechanism shows different characteristics of the motion.


What's inversion of mechanism?

Inversion of a kinematic linkage or mechanism is observing the motion of the members of the mechanism with fixing different links as reference frame. Each time when a different link is chose as the frame link the mechanism shows different characteristics of the motion.


When did Qin Shihuang start building the Greatwall of China?

some time in 3rd century BC. plus was done in the beginning of the 17th century


How do you check your schedule?

Checking your calendar or your notes to see what appointments you have is what it means by checking your schedule. Just seeing if you have time on a certain day or time, or if you already have something planned.


How much time to you get in jail for felonious assault done to a policeman in Virginia?

A felony crime will be a MINIMUM of one year plus one day in jail.


Diferentiate between internal check and internal audit?

Difference between internal check and internal audit.Following are the main differences between internal check system and internal audit system:1. Way of checking â€" In internal check system work is automatically checked whereas in internal audit system work is checked specially.2. Cost involvement â€" in internal check system checking is done when the work is being done. Mistake can be checked at an early stage in internal check system.3. Thrust of system â€" Thrust of internal check system is to prevent the errors and whereas the thrust of internal audit system is to detect the errors and frauds.4. Time of checking â€" In internal check system checking is done when the work is being done whereas in internal audit system work is checked after it is done. Mistakes can be checked at an early stage in internal check system.


What does it mean when a boy looks at you but not all time?

just checking you out.


If a guy holds your eye for a long time the first time you look at him does that mean he has been checking you out for sometime?

If you are sitting pretty he is checking you out girl! But if are ding something kooky he thinks you are nuts!