dcsimg

Latest C++ Articles - Page 9

How to Make Fewer Errors at the Stage of Code Writing. Part N2

This is the second article on avoiding certain errors at the early stage of code writing. In the previous post, we have already advised you to avoid a large number of calculations in one expression. However, we should investigate this question in detail. Let's see what's dangerous about complex expressions and how we can avoid many logical errors.

90 Errors in Open-Source Projects

The materials collected in this article will be useful for authors of articles, books and blogs. Examples of errors can be used to demonstrate the advantages of different programming styles -- for instance, why you should not try to make your code shorter by writing long expressions.

A Time Zone API supplement

Microsoft has an extremely limited set of Time Zone functions. This API will allow the full use of Time Zones in your Windows App.

C++ 2011: nullptr

C++ used to lack a special value to indicate a null pointer, which led to some problems. The new standard introduces a new reserved word nullptr, to designate a constant rvalue that represents a null pointer. Read on to learn more.

C++ 2011: Strongly-typed Enums

Strongly-typed enumerators, provided by the new C++ standard, solve the known problems with the traditional enumerators. The new standard brings a new kind of enumerator, introduced with 'enum class,' called strongly-typed enums.

Latest CodeGuru Developer Columns

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date