|
Introduction
| [Main] [Next] |
|
| |
|
| |
|
| |
|
| |
| All of the example programs contained herein are designed to be as platform independent as possible. You may need to include additional header files depending on your host operating system. For example, Windows developers will need to add
| |
|
| |
| #include <windows.h>
| |
|
| |
| to the top of each program while Unix developers may need to add
| |
|
| |
| #include <unistd.h>
| |
|
| |
| or something similar.
| |
|
| |
| Source code appears in courier new font, and is color-coded to highlight syntax. Comments appear in green, language keywords appear in blue, and quoted text appears in red:
| |
|
| |
| // Demonstration code
| |
| #include <dcmicro/htmlpp/htmlpp.h>
| |
|
| |
| int main( void )
| |
| {
| |
| htmlPage page( "html++ example application" ) ;
| |
| cout << page ;
| |
| }
| |
| Each class is fully documented, including example source code illustrating it's use. Documentation of each class includes the following topics:
| |
|
| |
| Description
| |
| Declaration
| |
| Hierarchy
| |
| See Also
| |
| Related Constants/Definitions
| |
| Constructors
| |
| Destructors
| |
| Member Methods
| |
| Example Use
| |
| Program Output
| |
|
| |
| In certain cases you will be referred to examples that appear in the html++ User Guide.
| |
|
| |
| Member methods are consistently formatted for maximum readability. The method name appears in black bold arial face on the left. Following it, in blue arial face, is the method prototype. Method arguments appear in bold, italicized face. A description of the method and it's arguments is indented below the prototype. Here is an example:
| |
|
| |
| Method | String Method( int integer_argument ) const
| |
| integer_argument is a parameter to the method, and a string is returned as the result.
| |
|
| |
