Swap 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

C code example for useful macros, functions and tricks

19 April, 2015   

Merges two strings in a way that a pattern like ABABAB will be the result.

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.