Vous êtes sur la page 1sur 7

LIST OF PROGRAMS ON C++

by

www.computerscienceexpertise.com
Your complete computer science portal

For any queries, write at: attention@computerscienceexpertise.com

Instructions
DOUBLE CLICK TO OPEN THE FILE IN NOTE PAD TO VIEW AND COMPILE IT THROUGH THE TC COMPILER DIRECTLY

BY SPECIFYING THE F3 COMMAND TO OPEN AND SELECT D DRIVE WHERE THE CD IS INSERTED

OR
COPY ALL THE FILES IN THE TC DIRECTORY AND COMPILE & RUN ACCORDINGLY
FILE NAME/ DESCRIPTION OF THE PROGRAM 1.cpp Program to find all the combinations that you can make with one word example: abc > 9 combinations 2.cpp Program adds two numbers in binary using class and object. 3.cpp Program to perform updation of a data file for manipulating an address book 4.cpp Program using structure to define a Bank A/c System 5.cpp Program to conduct binary search for any alphabet [a-z] out of an array. 6.cpp Program to print prime factorization 7.cpp This C++ program displays the month of any year and also has controls to view the previous & the Next months. 8.cpp Program to display all prime fibonacci series within the range of 1 to 10000. 9.cpp Program to print the corresponding ASCII character 10.cpp Program to get the day the month starts on, and the number of days in the month to output a calendar. 11.cpp Program to define a class point and implement operations 12.cpp Program to input any string upto 500 characters and convert the same into binary 13.cpp Program to depict the usage of Binary Search Technique. It is assumed that the list of numbers in an array is stored in ascending order. 14.cpp Declaration of a Class and manipulation of member function. Display of the result of students with computed grade of marks. 15.cpp Program to display Fibonaccis Heap 16.cpp Program to Calculate Polynoms

17.cpp Program for : Matrices : To implement cell value of a defined matrix Input: Row & Col. and Output : Cell element of the points Row, Col. 18.cpp Program to demonstrate reversing of an input text using a function with string arguments. 19.cpp Program to create a data file and read it as well. 20.cpp Program implementing File Operations Assuming the class student, 21.cpp Program to create a data file to store any ten rollnumbers and total marks and arrange the list in ascending order of marks. Read the file and print the new list obtained. 22.cpp Program to modify a record after creation in a data file. 23.cpp Program to add and reduce two given fractions 24.cpp Program to implement leap year checking using functions 25.cpp Program to implement sum of two input times. 26.cpp Program to add any two given angles. 27.cpp Program to compute the lcm and hcf using class. 28.cpp Project Programme for Hospital Database Queue array. 29.cpp Program that reads numbers (until -1 entered or more then 1000) into in array and sorts them in descending order. 30.cpp Program to extract maximum prime digit from a number 31.cpp Program to extract the position of any alphabet in the alphabetical series 32.cpp Array sorting: Using Bubble Sorting Technique. 33.cpp Program to compute the sum of all numbers divisible by 10 out of a given list. 34.cpp Program implements de-queues using circular arrays. De-queues are queues in which elements can be inserted/ deleted from either end. 35.cpp Adding elements of two given arrays into the third array. 36.cpp Program to print the sum of the following series: 1 + (1+2)+(1+2+3)+......N where N is the input.

37.cpp Program to convert binary to decimal using a function. 38.cpp Program to convert any entered decimal number into binary. 39.cpp Program to create two arrays of 3x4 and compute their sum in a new array. Display the new array so obtained. 40.cpp Program to assign names of any four subjects and check if it is present using double dimensional arrays. 41.cpp Program to count the number of words within an entered string and also print the string in reverse. 42.cpp Program to count the number of words within an entered string and also print the string in reverse. 43.cpp Program which calculates the day of the week for any given date & month of the year 2002. 44.cpp Program to Identify the day on a particular date 45.cpp Program to create a doubly linked list, to add an item(in front,in middle or in end), to delete an element(in front,in middle or in end) and to display to elements in the nodes. 46.cpp Program to compute the determinant of the matrix. 47.cpp Program implementing File Streaming : Storing array of numbers in a data file 48.cpp Program to implement Calculator functions for : +, -, *, /, ^ 49.cpp Program to compute surface area of cone, cylinder, vol. of cone etc. 50.cpp Program for computation of: 1). Natural Log (Ln) 2). Log with Base 10(Log10) 3).Log of your desired Base (LogA^x) 51.cpp Program to implement calculation on any entered two numbers. 52.cpp Program will ask the user for a starting number and an ending number and compute the sum of the numbers in between. 53.cpp Program implementing all four types of sorting of a string. 54.cpp

Program implementing Bubble Sort for an entered range of numbers. Using passing of array for sorting through functions. 55.cpp Program to conduct: Array sorting: Using Insertion Sorting Technique. Program to input any five numbers and print them in descending order. 56.cpp Program to display Fibonacci numbers which are prime. 57.cpp Adding two angles. 58.cpp Searching element in an array using binary search 59.cpp Program to implement Function Overloading 60.cpp Program to implement bubble sort for a multi-dimensional array[10][20] The array is stored through random generation of numbers between the defined range 1 to 500 61.cpp Program for Data File Manipulation of data entry/storage of employees Writing Structures in a data file. 62.cpp Program to accept a number x. Count number of digits in x and store it in n, form y that has the number of digits n at tens place and the most significant digit of x at ones place. Display y. sample input: x= 16833, y = 51, since no.of digits of x is 5 and 1 is the msd of x. 63.cpp Program to implement Linked List. 64.cpp Program to combine two arrays and sort them in order in one. 65.cpp Lottery Game 66.cpp Program to depict the process of linear search 67.cpp Program to return the inverse of any entered number. 68.cpp Program to input a number and check if it is a Magic Number 69.cpp This program creates a magic square box of order n x n. The speciality of a magic square box is that the sum of elements of any row or any column is always equal. 70.cpp Program to insert comma at appropriate position in an entered (max-15) digit number as per the mathematical theory. 71.cpp Program to display Consonants and Vowels output from an entered string 72.cpp Program to perform: Matricies-add,subtract & more.

73.cpp Program for reading, writing and multiplication of the matrices. 74.cpp Program to perform MergeSort 75.cpp Program in C++ to create a 3 by 3 array and extract the maximum and the maximum alongwith the original matrix. 76.cpp Program to convert any numeric entry into Words. 77.cpp Program to perform Magic Courtesy : ENRICO X THE MAGICIAN : Enrico Lorenzo Source: Internet 78.cpp Program to design a Five Function Calculator using Switch/Case 79.cpp Conversion program using Fucntions. 80.cpp Program to display all prime fibonacci series within the range of 1 to 10000. 81.cpp Program to display a Triangle of numbers called the Pascals Triangle, when provided with the number of rows. 82.cpp Program to input any string and print the number of spaces stored within the string at prime positions. 83.cpp Program for Pig Latin Converter 84.cpp The program calculates the value of a polynomial 85.cpp Program to assign string in a double dimensional array and display the contents. 86.cpp Program to print the product of two matrices 87.cpp Program for converting an int variable to floating point 88.cpp Program to play a puzzle 89.cpp Program to print out a checkered board of size n. 90.cpp Program to Print out a diamond of any size less than 12 91.cpp Program to implement a Recursive Function 92.cpp Program to delete the first common word in two strings and display the strings without the first common words. 93.cpp

Program to input any string and print the number of words. 94.cpp Rotates a word This program prints all the rotation of a word. Say if the input word is space, then it prints space paces acesp cespa espac 95.cpp This function allows the user to enter a number and than rounds it off, correct to the nearest integer. 96.cpp Using Selection Sorting Technique. Program to input any ten numbers and print them in ascending order. 97.cpp Program to input any string and print the number of 'the'. 98.cpp Program to input a string and a character. Print the frequency of the character within the string. 99.cpp Program to sort the given strings in Ascending order. 100.cpp Program to output:- Number of upper case alphabets (A, B, C, ....) Number of lower case alphabets (a, b, c, ......) Number of Special Characters (., + - / etc.)

[ For Advanced Programs visit www.computerscienceexpertise.com]

Vous aimerez peut-être aussi