C++ Examples

| Mission | C / C++ tutorial sites | Ads | Help | License | Technical details |



Sno

Source / Project

Documentation

Binaries

Linux

Windows

1

hello_world.c

Displays Hello World on screen

hello_world.bin

hello_world.exe

2

add.c

Adds two integer numbers

add.bin

add.exe

3

subract.c

Subtracts two integer numbers

subract.bin

subract.exe

4

multiply.c

Multiples two integer numbers

multiply.bin

multiply.exe

5

divide.c

Divides two integer numbers

divide.bin

divide.exe

6

float_add.c

Adds two float numbers

float_add.bin

float_add.exe

7

float_subract.c

Subtracts two float numbers

float_subract.bin

float_subract

8

float_multiply.c

Multiples two float numbers

float_multiply.bin

float_multiply.exe

9

float_divide.c

Divides two float numbers

float_divide.bin

float_divide.exe

10

min.c

Finds minimum of two numbers

min.bin

min.exe

11

max.c

Finds maximum of two numbers

max.bin

max.exe

12

prime.c

Checks if entered number is prime

prime.bin

prime.exe

13

fibo.c

Generates Fibonacci series

fibo.bin

fibo.exe

14

isfibo.c

Checks if a input number is a Fibonacci number

isfibo.bin

isfibo.exe

15

ascii.c

Displays the ASII value of typed in character

ascii.bin

ascii.exe

16

tocaps.c

Converts the entered text to capitals (Upper case)

tocaps.bin

tocaps.exe

17

tosmall.c

Converts the entered text to Lower case

tosmall.bin

tosmall.zip

18

string_reverse.c

Reverses a string and prints it

string_reverse.bin


19

string_operations.c

Uses string functions

string_operations.bin


20

palindrome.cpp

Checks if entered string is a palindrome

palindrome.bin

palindrome.exe

21

swap.c

Swaps char, numbers , uses templates.

swap.bin


22

array_sort.cpp

Sorts a array of numbers in ascending / descending order

array_sort.bin

sort_ascending.exe

23

array_sort_01.cpp

Sorts a array of numbers in ascending / descending order

array_sort_01.bin

sort_descending.exe

24

one_to_ten.c

Prints from 1 to 10. An example for for loop

one_to_ten.bin


25

tables.c

Prints multiplication tables of a number

tables.bin


26

c_to_f.c

Converts Celsius to Fahrenheit

c_to_f.bin


27

f_to_c.c

Converts Fahrenheit to Celsius

f_to_c.bin


28

armstrong.c

Checks if a number is armstrong

armstrong.bin


29

sumofnumber.cpp

Computes the sum of digits in a number

sumofnumbers.bin


30

array_operations.c

Does some array operations

array_operations.bin


31

exor_swap.cpp


exor_swap.bin


32

comp_intr.cpp

Finds compound interest of a given number

comp_intr.bin


33

quad_solve.c

Program to find roots of quadratic equation

quad_solve.bin


34

complex.zip

Project to operate on complex numbers

complex.bin


35

gcd.c

Finds GCD of any two given numbers

gcd.bin


36

lcm.c

Finds LCM of any two given numbers

lcm.bin


37

simpleintrest.c

Program to calculate simple interest

simpleintrest.bin


38

square.c

Calculates area, perimeter, diagonal length of square

square.bin


39

rect.c

Calculates Area, Perimeter and Diagonal length of a rectangle

rect.bin


40

tri_01.c

Finds area of a triangle given its side lengths

tri_01.bin


41

power.c

Finds 2 raised to the power of 3

power_c.bin


42

power.cpp

Finds 2 raised to the power of 3

power.bin


43

print.cpp / print.txt

print.cpp includes print.txt to print a string

print.bin


44

circle.cpp

Finds area , perimeter of circle

circle.bin


45

cone.cpp

Finds volume of a cone

cone.bin


46

cylinder.cpp

Finds area of cylinder

cylinder.bin


47

sphere.cpp

Finds surface area and volume of sphere

sphere.bin


48

pointer.cpp

Program that explains about pointers

pointer.bin


49

tri02.cpp

Finds area of triangle given its base and height

tri02.bin


50

static.cpp

Program to explain about static variables

static.bin




Next >>



Hosted by www.Geocities.ws

1