Search
You searched for cpp 2 pages found
- .h/.hpp including strategy ... of everything imaginable there. This article is devoted to classify the approach of working with .h-files. It is a result of my conversations with Anton, who I truly believe, is the best one among C++ers which I have ever seen. Globally, there are two ways of including into .c/.cpp-files. umbrella header fine grained headers A couple of examples: 1) ntddk.h, windows.h. Let’s assume we have foo.h, which in its turn has ntddk.h and other odds and ends, and placing this foo.h into bar1.c, bar2.c, bar3.c. In case 2) targeted .h-files have to be included directly into ...
- Section: Blog
- How to walk through a container Just a small article explaining how to work with the STL containers. Vector is taken as an example. Аt the beginning I would like to say thanks to Anton. The reason for this article is multiple examples of incorrect iteration seen everywhere in Internet: We are going to consider the examples from the most primitive to the sophisticated ones. It’s how a guy with the C-related past would write: ...
- Section: Blog
WHAT'S NEW
- A couple of words about TDD
- Unit-test coding supposes to be one of the most significant methodological achievements of the industry, let’s say, for about last 15 years. The Internet is full of enthusiastic exclamations [1, ...
- February 21, 2010
- CodeExample plugin for Trac
- The Trac plugin for code examples colouring. It supports three types of examples - a simple, a correct one and an incorrect. Further details see at
- February 13, 2010
- Metrics - LoC
- This is going to be a small set of articles devoted to metrics. The first one is about LoC - Line of Code. I think that the first reaction on ...
- May 11, 2009
- Metric - Cyclomatic Complexity
- There is a simple and logic explanation: the more “if”, “while”, “for”, and etc. in code the higher the complexity of the code improvement, management, understandability and refactoring. Cyclomatic (here ...
- May 11, 2009
- SESE vs SEME
- SESE/SEME are terms of structural programming and were introduced at 80-s. Nothing new. However, experience shows that some programmers do not know about them till today. That’s why it makes ...
- April 08, 2009