C++ Program to calculate area of a triangle

How to write a C++ program to calculate area of a triangle ? C++ Program to calculate area of a triangle Solution: //Program to calculate area...

C - Determine If a Number is Odd or Even

How to write a C program to determine if a number is odd or even ? Info! C program to determine if a number is odd or even Solution: #include <stdio.h> ...

C++ Print first 10 natural numbers using while loop.

How to write C++ Program to print first 10 natural numbers using while loop ? C++ Print first 10 natural numbers using while loop. Solution: //Program...

C++ Program to swap two numbers using function.

How to write a C++ Program to swap two numbers using function in C++ Programming ? C++ Program to swap two numbers using function. Solution: //Program...

C++ Program to Find Length of a String

How to write a Program to find length of a string in C++ Programming ? C++ Program to Find Length of a String Solution: //Program to find length...

C++ Program to display a string reversed

How to write a C++ Program to display a string reversed in C++ Programming ? C++ Program to display a string reversed Solution: //Program to display...

C++ Program to check if two strings are identical.

How to write a C++ Program to check if two strings are identical or not in C++ Programming ? C++ Program to check if two strings are identical. Solution: //Program...

C++ Program to check if a string is palindrome.

How to write a Program to check if a string is palindrome in C++ Programming ? C++ Program to check if a string is palindrome. Solution: //Program...

C++ Program to toggle case of letters of a String

How to write C++ Program to toggle case of letters of a string in C++ programming language ? C++ Program to toggle case of letters of a String Solution: //Program...

C++ Program To Find Out Number Of Vowels In A String

How to write a C++ Program to find out number of vowels in a string in C++ programming ? C++ Program To Find Out Number Of Vowels In A Atring Solution: //Program...

C++ Function And Pointers Swap Two Numbers Program

How to write a C++ Program to swap two numbers using function and pointers in C++ programming ? C++ Program to swap two numbers using function and...

C++ Declare class item to store item number and name of 5 objects

How to write a Program to declare class item to store item number and name of 5 objects in  C++ Programming ? Program to declare class item...

C++ Program to overload a Function area

How to write a (C++ function overloading program)  C++ Program to overload a function area ? C++ Program to overload a Function area Solution: //Program...

C++ Program To Count Number Of Alphabets In A File

How to write C++ Program To Count Number Of Alphabets In A File in C++ programming ? C++ Program To Count Number Of Alphabets In A File Solution: //Program...

C++ File Handling Binary files - class EMPLOYEE

Assuming the class EMPLOYEE given below, write functions in C++ to perform following: (i) Write the objects of EMPLOYEE to a binary file. (ii) Read...

C++ Program To Write Numbers 1 to 100 in a data file

How to write a C++ Program to write numbers one to hundred in a data file notes.txt in C++ Programming. C++ Program to write numbers one to hundred...

C++ Initializes A String Variable And Outputs String To Disk File

How to write a C++ Program which initializes a string variable and outputs the string to the disk file in C++ programming. C++ Program which initializes...

Read Content From a Text File then Count and Display the Number of Alphabets

How to write a C++ Program to read content from a text file out.txt, count and display the number of alphabets present in it in C++ Programming. C++...

C++ Program to count number of blanks present in a text file

How to write a C++ Program to count number of blanks present in a text file in C++ Programming. C++ Program to count number of blanks present...

Binary File Handling in C++ Examples

Binary File Handling in CPP -  Binary File Handling in C++ Examples Binary File Handling in CPP -  Binary File Handling in C++ Examples Soltuion: #include<fstream.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> class...

C++ Program to count number of words in a text file

How to write Program to count number of words in a text file in C++ Programming. C++ Program to count number of words in a text file Solution: //Program...

C++ Program to Counting Words "the" in a Text File

How to write Program to count number of times the word 'the' as an independant word in a text file in C++ Programming. C++ Program to Counting...

C++ Program to Count Lines Starting Alphabet 'A' in text file

How to write a Program to count number of lines not starting with the alphabet 'A' in a text file in C++Programming. Program to count number of...

C++ Program to Print lower-case vowels in second.txt from first.txt

How to write a Program that reads a file first.txt and creates a new file second.txt which contains only those words from first.txt which starts from...