开发者

Most Common Mistake done/seen in C++ [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

What C++ pitfalls should I avoid ?

What is the most common mistake in C/C++programming that you keep committing or see most of the people do? Being aware of it atleast subconsciously will increase my or anyone's chances of committing i开发者_JS百科t.


Wrong memory management in all kinds of ways - new without delete, delete on the wrong pointer, unclear ownership of a pointer with resulting memory allocation / deallocation problems etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜