# C++ Programming Code Examples

## C++ > Computer Graphics Code Examples

### C++ Program to Implement The Edmonds-Karp Algorithm

C Code Convert Days to Years Weeks Days -
C program to input number of days from user and convert it to years, weeks and days. How to convert days to years, weeks in C. Input days from user. Store it in some variable say...

Implement a Binary Search Tree by Linked -
This C++ program, displays the traversal of a "binary search tree" in inorder,postorder and preorder mode using "Linked Lists". A linked list is an ordered set of 'data elements', each

C++ Language Header File For Linked List -
Return true if "empty"; else false. Remove all items. Return position to prior to first. Return "first position". Insert x after "current iterator" position p. Return position that views. ListItr

Most Significant Bit (MSB) of a number is -
In C programming language we use bitwise AND & operator to check status of any bit. Bitwise AND operation evaluate each bit of resultant value as 1, if corresponding bit of...

Undirected Graph contains a Eulerian Path -
Check if this graph is Eulerian or not. Check if all non-zero degree vertices are connected. If graph has no "odd degree vertex", there is at least one Eulerian Circuit. And if graph as two

C Language Calculation Divide Product PI -
C Calculations on a table, the radius of table, the diameter of the table, the circumference of the table, the area of a circle, calculate the radius, calculate the circumference, calculate

C Program to Illustrate Pass by Reference -
C code to illustrate pass by reference. Pass the addresses of the variables as parameters to the function. In function definition receive the parameters through pointers. Print the...

Open Files & Compare Files in C Language -
Open first file, open second file then compare the files. If the file won't open giving message Error reading first file or Error reading second file. Files differ at byte number or files are the