English 中文(简体)
C++中常见错误和固定办法
原标题:common errors and fixes in C++
  • 时间:2009-12-01 22:25:39
  •  标签:
  • c++

是否有任何网站教授如何确定新版的通用汇编错误? 就像不称某种类型一样?

问题回答

C++ FAQ是学习做什么和不做什么的良好来源。 将错误信息传入搜索引擎也往往有助于。

鉴于不同编汇者的数量以及使用斜体和推进剂的非常加密警告,我通常使用谷歌,但我像我所能(删除线号等)那样,将灰色地带缩小为独一无二的地带。 我通常认为,我会发现另一个有类似错误的人的问题,以及(全心全意)如何加以纠正的问题。

如果你使用Microsoft汇编器,是非常有益的。 例如,如果我收到错误的话。

页: 1

MSDN [has a page] (:http://msdn.microsoft.com/en-us/library/799kze2z(VS.80).aspx 对这一错误的代码(LNK2019 错误的引证)有共同的例子,说明造成错误的原因和如何确定错误。 这还涉及汇编错误(而不是链接错误)。

然而,我通常认为MSDN页面使用谷歌,因为微软网站是最容易浏览的,但另一种选择是,只读[C/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?

热门标签