This repository contains code for various programs I wrote to get familiar with the C++ programming langauge.
-
Program 1: Program in C++ to count and display the number of Lines starting with 'A' present in the file 'LINES.TXT’
-
Program 2: Assuming That a text file named FIRST.TXT contains some text written into it, A function vowelwords() that reads the file FIRST.TXT and creates a new file named SECOND.TXT to contain only those words from the first file which starts with a lower case vowel (i.e --> a,e,i,o,u)
-
Program 3: Program to read the contents from the text file STORY.TXT, count and display the number of alphabets present in it
-
Program 4: Program to print the count of the word “is” as acharacter in a file STORY.TXT
-
Program 5: Program to print the count of the word “THE” as an independent word in a text file DIALOGUE.TXT
-
Program 6: Program to count and display the number of lines not starting with the alphabet 'A' present in a text file "STORY.TXT". And to also count the number of blank present in this file.
-
Program 7: Program to display the size of file "PARA.TXT" in bytes
-
Program 8: To find the output of the file "data.dat" if it contains the string "ABC" before execution of the program....where " " are not a part of the file
-
Program 9: To read the contents from the file GAME.DAT and creats a file BASKET.DAT where records of all playing basketball is stored
-
Program 10: Program To Update the file with a new “no. of people” after the execution of the program
-
Program 11: Program to read the contents of the file APPLY.DAT and display the details of Students
-
Program 12: Program to search the file for the student details in the file on the basis of roll no. Supplied
-
Program 13: Read and write Functions on a binary file STOCK.DAT
-
Program 14: Traversal of an array and printing values after multiplying by 3
-
Program 15: Linear Search in 1-Dimensional Array
-
Program 16: Binary Search In 1-Dimensional Array
-
Program 17: Insertion In 1-Dimensional Array
-
Program 18: Deletion in 1-Dimensional Array
-
Program 19: Bubble Sort On 1-Dimensional Array
-
Program 20: Insertion Sort On 1-Dimensional Array
-
Program 21: Merging in 1-Dimensional Array
-
Program 22: Stack implemented in form of Arrays
-
Program 23: Stack Implemented As Linked List
-
Program 24: Queue Implemented As An Array
-
Program 25: Queue Implemented As Linked List
-
Program 26: Circular Queues
-
Program 27: Dynamic allocation of memory with pointers
-
Program 28: Illustrating Use Of Array Of Pointers
-
Program 29: Calculate grade of students based on marks