Category Archives for C++

Programs in C++ language.

Program to find Norm of a Matrix

20. February 2012 by Manish Gupta
Categories: C++ | Tags: , | Leave a comment

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

20. February 2012 by Sukhdeep Singh Jat
Categories: C++ | Tags: , , , , , | Leave a comment

Friend function implementation in cpp

This program will help you to understand friend function in cpp. Continue reading

15. April 2010 by Jishnu
Categories: C++ | Tags: | 2 comments

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

15. April 2010 by Jishnu
Categories: C++ | Tags: , | 1 comment

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

15. April 2010 by Jishnu
Categories: C++ | Tags: | Leave a comment

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

15. April 2010 by Jishnu
Categories: C++ | Tags: | Leave a comment