# C++ Programming Code Examples

## C++ > Computer Graphics Code Examples

### Program to Find Whether a Path Exists Between 2 Given Nodes

C Program code to Print Number in words -
C program to input a number from user and print it into words using for loop. The above logic is correct however it print the words in reverse order. For example, suppose number

C++ Code Sample Preprocessor Directives -
There are different "Preprocessor Directives" that perform different tasks. Lets categorize preprocessor directives. Inclusion directives: "#include": specifies the files to be included,

The C++ Brick Game Arcanoid with Mouse -
Initialize the graphics mode and. Displays the last screen of bricks. Changes the text style & report any error if encounter. Print "Welcome screen of bricks game". Instruction messages

Program to Find the Vertex Connectivity -
C++ Program finds vertex connectivity of a graph. A vertex in an undirected connected graph is an articulation point iff removing it disconnects the graph. 'Articulation points'

C++ Computes Cross Product of 2 Vectors -
C++ Program to find the cross product of two vectors. In mathematics, the cross product or vector product is a "Binary Operation" on two vectors in three-dimensional space. It results

C Calculate the total Revenue and Output -
C Programming Choosing the correct type: long. Calculate quarterly total. Output monthly sales and total for the quarter. Calculate the total revenue and output it.

Reads Strings from a File in Reverse Order -
Program code to find out how many strings there are. Read string length. Check buffer is large enough and increase if necessary. Now get the position for the beginning of each...

Binary Counting Method Generate Subset -
Algorithm takes the input of "n" data element and 'prints all possible combination'. Function to 'Print array element' according to the code in the 'Argument List'. For that, it generates n