# C++ Programming Code Examples

## C++ > Pointers Code Examples

### Read, Print and Sum of Integer in an array using pointers in C++

C programming Scanf() Format Specifiers -
Read a floating-point value, read a single character, read a decimal integer, read an integer in either decimal, octal, hexadecimal format, read a floating-point number, read a

Assignment Operations in C++ Language -
The operator "=" is an "assignment operator" in C++ and it assigns a value to the objects on the left. C++ Language provides capability to combine assignment operator with almost all

C++ Code Convert Hexadecimal to Binary -
To convert "Hexadecimal" number to "binary" number in C++, you have to ask to the user to enter the hexadecimal number to convert it into binary number to display the equivalent

Finds Factorial of Number using Recursion -
Declare recursive function to find factorial of a number. First let us give a meaningful name to our function, say fact(). Factorial Function accepts an integer input whose factorial is to

C++ program for Complex Numbers using -
Class for addition, subtraction, multiplication and division for 'complex numbers'. Class has 4 functions to perform arithmetic operations. It takes 2 "complex numbers" input from user

C Programming Code N-Queen's Problem -
Enter the number of queens(say n) and watch how computer places them in (n x n) matrix such that none can meet another moving along horizontally, vertically or digonally.

Add Two Matrix Using Multi-Dimensional -
In this program, user is asked to entered the number of rows r & columns c. The value of r & c should be less than 100 in this program. Then, the program adds these two matrices,

C Program Copy Strings without by strcpy -
You can use the 'strcpy()' function to copy the content of "one String to another" but, this C Program 'copies the Content' of one string to another manually without "strcpy()" function.