I made a change in the blogger configuration to ease the later work when blogging. It is possible that older entries are not correctly formatted.

Friday 18 July 2008

Online C++ Documentation

I found a nice page as a C++ documentation: http://www.cplusplus.com/reference/.

C library

A number of headers are present in the standard C++ library, for example:
  • asserts
  • types
  • errors
  • floats
  • Standard definitions
  • localization
  • limits of standard types
  • maths
  • C I/O library functions
  • C strings
  • C time
  • C standard libraries
  • Jump routines to preserve calling properties and environment ***
  • and handling of variable arguments

I/O Streams

There is a number of headers existing for the C++ stream operations as well as a number of possible classes for all these headers information. The main reference page has a nice picture summarizing the relationship between these classes.

string header

The string headers is useful to represent characters sequence. It contains a number of operations which are described on a special page for the string operation topics. A nice aspect is also that these pages have examples. So it's quite nice to learn how to use them correctly.

Standard Template Libraries

One of the nice aspect of this page was for example the page on the Standard Template Library. It presents all the complexities of the different operation on the diverese containers which can be used with these structures. Dividing the different containers in three groups: sequence containers, container adapters and associative containers.

<algorithm>

But there is also one I was not aware of: the algorithm header, which provides a number of standard algorithms which are designed to work on ranges of elements. For example, it contains search, merge, sorting, heap, min/max as well as operation to modify sequences and structures (swapping, copying, partitioning).

Supplementary headers

There are 4 other headers which do not belong to the other above categories: