English 中文(简体)
• 如何处理C++的停工时间检查失败?
原标题:How to handle Run time check failure in C++?

这是一米接收错误:

“entergraph

我知道:

  1. how do set up try catch block to handle that error? OR
  2. how do handle that error before it hapens if try catch is not possible?

I m receiving this error when I call a member function trough pointer to member function with wrong signature. That error of course won t happen if I call it with correct signature , but, I just wanna know how do I handle it if it happens.

最佳回答

<>1>。 您可在<条码>中处理这一错误。

这是因为try/ > Arthur/code>依赖打字,而你的错误是,你的打字被腐蚀。

<>2>。 没有合理的操作时间方法事先知道该法典会腐败。

这些问题通常在守则本身中采用谨慎态度处理。 汇编者不会允许不正确的职能点派任,除非你重新强迫其投放。

问题回答

页: 1 a 职能与错误的电话公约相呼应,因为C++术语并非例外。 这一错误可能是致命的,与方案的结构或拟订有关,除非你做一些严重的低级后向兼容性,否则你不应试图“处理”。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?