# C++ Programming Code Examples

## C++ > Data Structures Code Examples

Page 1 Page 2 Page 3

Page 1 Page 2 Page 3

C++ Additions Subtractions Multiplication

Perform addition, subtraction, multiplication and division of any two numbers in 'C++', you have to enter the 'two number' and enter the operator to perform the particular operation

C++ Programs Implementing Bloom Filter

Number of bits in the Bloom filter. Number of bits set per Mapping in Filter. Table of "8-bit" CRC32 remainders. Bloom filter array of M/8 bytes. Number of bytes in Bloom filter. Main

Directed Graphs Contains a Eulerian Cycle

If graph has no odd degree vertex, there is at least one Eulerian Circuit. And if graph as two vertices with odd degree, there is no Eulerian Circuit but at least one Eulerian Path. If graph

C Code Reads two Strings & Concatenates

C program Read two strings and Concatenate them, without using library functions. Display the 'Concatenated String'. Take two strings as input and store them in the arrays string1 and

'Scalene Triangle' does not have sides having Equal Length & No angles of Scalene Triangle are equal. To calculate Area, we need at least two sides and the angle included by them. So

Print Armstrong Numbers from 1 to 1000

Program code print Armstrong Number from 1 to 1000. An Armstrong number is an n-digit base b number such that the sum of its (base b) Digits Raised to the Power n is the number

Find the First Occurrence of a Character in

C program to 'input any string' from user and find the 'first occurrence' of a given character in the string. Input string from user and store it in a variable say "str". Run a loop from start

Program Code Display Fibonacci Sequence

The Fibonacci Sequence is a series where the next term is the sum of pervious 2 terms. The first two terms of the Fibonacci sequence is 0 followed by 1. The sequence: 0, 1, 1, 2, 3, 5, 8,