Swap To Number Snippets


05 January, 2015   

Code example for Macro to swap nibble of BYTE

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

08 September, 2013   

Example shows how one line swap of integers

01 August, 2016   

3 Examples way to do a swap

26 August, 2015   

A program which gives a lexigraphic permutation generator.

27 September, 2017   

C/C++ source code - Three ways to do a swap

This function is used to reverse an integer array. For example, if the array is {1,2,3,4,5}, these functions will return an array like {5,4,3,2,1}. The user needs to pass in a pointer to the array and the size of the array, and the function will return a pointer to an array in the reverse order.

Example code for a short BubbleSort algoritm for Integer Arrays

Source code for Trigonometry Table made

13 July, 2013   

C programming code to check whether a number is armstrong or not.

C code example for useful macros, functions and tricks

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.

16 November, 2013   

You can use this function when you correct a iban number in your commercial projects.

04 December, 2011   

Example of If Statement in python

C++ code example to find out the sum of given number

Get number of paragraphs in column 2 and display that number in an alert box. Including the one in the red box.

Portable code to count the number of bits

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

This example code calculates the ratio between the X and Y columns of the RATIO table.

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