Category Archives for C++
Programs in C++ language.
Student Report card in C++
Program to make student report card using linked list by stack operation and file handling. Where handling is used to accept the information and linked lists are used to input,deleting and displaying all the entered records. Note by admin: This … Continue reading
Friend function implementation in cpp
This program will help you to understand friend function in cpp. Continue reading
Stack using array in cpp
#include<iostream.h> #define MAX 3 class stack { int top; int s[MAX]; public: void push(); void pop(); void display(); int item; stack() { … Continue reading
Inheritance in CPP
#include<iostream.h> #include<stdio.h> class shape { public: int a,b; float ar; }; class rectangle:public shape { public: void read() { cout<<"Length : "; cin>>a; … Continue reading
Binary Search Tree in CPP
#include<iostream.h> #include<stdio.h> struct node { int info; struct node *lchild,*rchild; }*temp,*ptr,*root,*t; class tree { node *r; public:void create(); int insert(node *); void in(node *); void pre(node *); void post(node *); }item; main() … Continue reading

