Binary Tree Snippets

Source code for Binary tree creation, traversal and search

05 November, 2012   

The following example converts a binary value to a number

Source code - binary addition using stack in STL

C++ source code for binary addition using stack in STL

19 November, 2013   

C++ code example for binary addition using stack in STL

Source code to convert an integer into binary representation

27 February, 2012   

An example C++ code for Font dialog demo

11 May, 2017   

The following code uses bitwise operators to determine if an unsigned integer, x, is a power of two.

PHP’s rmdir function does not allow the deletion of a folder if it is not empty.

19 April, 2011   

This snippet shows how to get the thumbnail from exif metadata. This is very useful for generating very fast thumbnails!! I hope many would benefit from this.

06 May, 2014   

This PHP script allows you to parse multiple feeds from different sources into separate pages using SimplePie class. A fast and efficient way to serve fresh content to your site as to provides the most up-to-date information to the readers.

14 August, 2016   

All of the XOR encryption algorithms

A simple and practical way to show the format of the IEEE standard for binary floating-point numbers (IEEE 754) is to use a union, as shown in the following example:

19 November, 2013   

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

PHP code to display a thumbnail image on the page without saving it

12 March, 2013   

Example code Raw Disk Access Unit