Showing posts with the label Cpp

C++ Program to Convert a String into Binary Sequence

Enter a string or a name, this program will convert the string into binary format. Let me explain h…

C++ Program to display month by month calendar for a given year

This program will display month by month calendar for a given year, after compiling the program giv…

Program to Find the Day of the Given Date Using C++

Please enter your birthday in this format(including spaces): DD MM YYYY , "Eg:22 01 1997"…

How to draw pie using C++ - SVRR TECH

Program #include <iostream> using namespace std; int main()  {     char s[]= "5'I+GJ…

Example Program for EXECEPTION HANDLING using C++ - SVRR TECH

#include<iostream> using namespace std; int main() { int a,b,c; float d; cout<<"En…

Example Program For Object As Function Arguments In C++ - SVRR TECH

#include<iostream> using namespace std; class time { int hours; int minutes; public: void get…

Example Program For Multiple Inheritance Using C++ - SVRR TECH

#include<iostream> using namespace std; class roll { protected: char no[20]; public: void get…

Example Program for Single Inheritance using C++ - SVRR TECH

#include<iostream> using namespace std; class emp { public: int eno; char name [20],des[20]; …

Example program for Binary Operator Overloading using C++ - SVRR TECH

#include<iostream> using namespace std; class complex { float x; float y; public: complex() {…

Example program for unary operator overloading in c++ - SVRR TECH

#include<iostream> using namespace std; class unary { int x,y,z; public: void getdata(int a,i…

Example Program For Copy Constructor In C++ - SVRR TECH

Copy Constructor creates an object by initializing it with an object of same class. Program: #inclu…

CONSTRUCTOR AND DESTRUCTOR in C++ With Example - SVRR TECH

In C++ Constructors are special class functions which performs initialization of every object, …

Simple Class Program using C++ - SVRR TECH

#include<iostream> using namespace std; int f1=-1,f2=1,f3; class fib { public: void calculate…

Function overloading in C++ with Examples - SVRR TECH

Function overloading is a C++ programming feature that allows us to have more than one function hav…

C++ Program to Sort String in Alphabetical Order - SVRR TECH

In this program we are going to Sort the String in Alphabetical order using c++ programming langua…

Load More That is All