Conventions
[Previous] [Main] [Next]

 
Example Source Code
All of the example source code contained herein is 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, depending on the Unix vendor.  
 
Color Coded Source Code
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 )  
{  
   htmlCgi   server ;  
   htmlPage  page( "html++ example application" ) ;  
 
   server << page ;  
   return 0 ;  
}  

Class Reference Format
Each class is fully documented in the html++ Class Reference, 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  
 
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:  
 
MethodString Method( int integer_argument ) const  
integer_argument is a parameter to the method, and a string is returned as the result.  
 
 


©1998 DC Micro Development. All rights reserved.
No portion of this document may be c opied or reproduced without expressed written consent.
html++ is a trademark of DC Micro Development.