Compile libxml program
For XML programming in C, you can make use of certain libraries like libxml. To compile a libxml program, you must be aware of the libraries and their installation. xml2-config comes in bundled with libxml. With xml2-config, you can find out the various values needed to compile the libxml programs. After installing libxml, you must [...]
libxml tutorial – XML programming in C/C++
XML is a markup language to represent data. If you want to work with XML in C/C++, you can make use of the libxml library. The following tutorial is an introduction to XML programming in C. XML: Introduction to Extensible Markup Language Installation libxml installation Install libxml2 documentation Compilation and Execution Compiling libxml programs Sample [...]
How to Install joomla in localhost
Just like drupal, joomla can also be used as a content management for web sites. You must have mysql,php and apache installed in your machine. Create a database in mysql for joomla Download joomla. Unzip theĀ file Find out the root directory of your Apache. The value will be present in httpd.conf Copy the joomla [...]
How to install WordPress in localhost
WordPress is the most commonly used blogging platform. If you are a developer, you may wish to test a lot of things in your machine. It may be related to the development of themes and plugins. WordPress can be installed in your machine locally. You must have mysql,php and apache installed in your machine. Create [...]
How to Install drupal in localhost
Drupal is one of the best content management software for web site development. But you can install drupal in your local machines and test its working. To see how it works, follow the steps given below. You must have mysql,php and apache installed in your machine. Create a database for drupal usage in mysql Download [...]
Create Log4cpp Layout
Apart from the Simple and Basic Layout of log4cpp, you can create your own log pattern using the Pattern Layout. But you can add certain strings to the pattern. If you want to add additional functionality like displaying process ID, hostname using functions like getpid(), gethostbyname(), you need to create your own layout. You can [...]
How to direct logs to multiple log files (destinations) – log4cpp
log4cpp can not only be used to log the events to a log file or standard output, but also helps you to log events to multiple destinations. For this purpose, either you can add multiple appenders to a single category or make use of multiple Categories. We will explore the first options. With this option, [...]