Find The Sum Of Digits Of A Given Number Snippets


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

13 July, 2013   

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

Function of an integer raised in a power * and the calculation of the sum of a series of integers (1^e+2^e....+n^e) raised in a power.

Function of an integer raised in a power * and the calculation of the sum of a series of integers

28 June, 2012   

Function to generate soundex code for any string (usually a name). Conforms to Knuth's algorithm and the common Perl implementation.

10 November, 2012   

It will return a string of words to represent the integer part of this value.

C++ code example to calculate 1 variable statistics

11 July, 2011   

We have created our first function, but a function usually need one or more parameters, so let us have a look at that. The next function is a simple echo function which just print the text to screen.

09 August, 2015   

Handy routine to display the database's SGA statistics.

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 - binary addition using stack in STL

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

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

30 October, 2013   

Example code showing how to make an array of files you find

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

C++ Example code to convert a real number to the string

22 February, 2016   

C/C++ source code for euler approximation method

Converts the given floating-point value to a zero-terminated string. The supplied buffer should be large enough to accommodate the converted value. The value includes a decimal point and possiblesign and exponent information, plus a terminating null character, which is appended automatically. Returns: a pointer to zero-terminated...

I would like to find the position of the last occurrence of a character in a string and print every thing after that.