Thursday, September 9, 2010

Does Oral Irrigator Replace Flossing

"Programming with haiku," Lesson 1: Templates and Namespaces

begins After his introductory course on C + + now DarkWyrms next tutorial series: Programming with Haiku .

During the first series generally introduced into the C + + programming, then the practical use of the Haiku API will be at the forefront. First, however, still need a few techniques are explained which of course now and are in Haiku programming benefits.

The first lesson dealt with in particular the Standard Template Library (STL) and their vector, deque and list templates and the use of STL iterators. Namespaces prevent conflicts between classes of different libraries. By using the using declaration can save paperwork and the code remains clear. Will conclude the lesson with an example program to show all files in the home directory that it uses a deque iterator template together.

0 comments:

Post a Comment