## Triangular Numbers Snippets

27 April, 2013

PHP code for Fast Triangular Numbers

Source code by Maganti Venkatesh for another way to swap 2 numbers

To generate numbers of the form 2^i * 3^j * 5^k

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

How to dynamically update your Snippets

06 August, 2012

Showing how to sort array of numbers using built-in qsort

13 February, 2013

Place line numbers in text output format using CSS and PHP

01 March, 2011

Example for using thousand separator (,) for decimal integer numbers

02 May, 2013

A Closer Look at the I/O Operators

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:

Source code for C++ program, declaring a number of variables of various types.

Need to adjust this code to be encapsulated. Linestyle is not being called correctly.

28 April, 2011

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

How to display the source code of any webpage. you can use below example code

Source code - binary addition using stack in STL

30 April, 2011

Countdown to the start of Summer in the Northern Hemisphere: June 21, 2011; 1:16 PM Eastern Daylight Time (EDT)

Example for using thousand separator (,) for decimal integer numbers

02 June, 2011