C++ Code Snippets


11 October, 2018   

C++Code Snippets to Write a character using cout

This program checks whether an year (integer) entered by the user is a leap year or not.

Simple singly linked lists example usage; it is only one of many possible implementations

C++ Code Snippets for Octal - Hexadecimal - Decimal conversion

Source code for KMP String Search Algorithm

27 September, 2017   

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

28 August, 2017   

C++ source code for a simple hashtable

Source code for Binary tree creation, traversal and search

10 June, 2017   

C++ source code useful string functions

11 May, 2017   

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

C++ source code for singly linked list - insert, remove, add, count

01 August, 2016   

3 Examples way to do a swap

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

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

A Template for building OpenGL applications using GLUT.

16 May, 2016   

Example source code Friend Function

Source code for Validate Longitudinal Redundancy Checksum

C++ code example to calculate 1 variable statistics

22 February, 2016   

C/C++ source code for euler approximation method

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.