# C++ Programming Code Examples

## C++ > Computer Graphics Code Examples

### Program to Implement Max-Flow_Min-Cut_Theorem

Converts Decimal Number to Octal in C++ -
In the program, the decimal number is stored in the variable decimalNumber and passed to function decimalToOctal(). Function converts the 'decimal number' passed to its equivalent

C program to Calculate (1*1)+(2*2)+(3*3) -
In The C, you can print any number series and I will show you how to 'print number series' in C Language with explanation. In case of print number series you need to focus on common

Display decimal equivalent of input binary -
C Programming language example to display decimal equivalent of a input binary number. What will be the length of input no.? Don't exceed input from your input limit or 5 digits

Find Intersection & Union of 2 Linked Lists -
This C Program code finds the intersection & union of 2 Linked lists. Intersection is a set of elements that are common in both lists while union is a set of all Unique Elements in both...

Code Nonzero If ch is a White-Space Char -
C Programming Language codings to returns nonzero if ch is a white-space char, including space, horizontal tab, vertical tab, formfeed, carriage return, newline character; otherwise

C Build Binary Tree if Inorder or Postorder -
C Program to Build Binary Tree if inorder or postorder traversal as input. Create a new node. Create a balanced binary search tree. Insert a node in the tree. Create a node and

C++ Find Maximum & Minimum Numbers -
Program should display all 'random elements' of array and minimum and maximum number in array on screen. Array size is fixed to 100 to change the size just change the 'Value of size'

Reverse the Digits of a Number in 3 Steps -
C programming code to reverse the digits of a number in 3 steps. Store number in form of string. Reverse string using strrev function. Convert string to number. Printing reversed