Category: C and C++

C++ Program for Bubble sort 4

C++ Program for Bubble sort

C++ Program for Bubble sort. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program for Bubble sort ***************************************************************/ #include<iostream.h> #include<conio.h> void main() { int array[100],n,i,j,temp; clrscr(); cout>n; cout

C++ Program Program for Binary Search. 8

C++ Program Program for Binary Search.

C++ Program Program for Binary Search. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program Program for Binary Search. ***************************************************************/ #include<iostream.h> #include<conio.h> #include<process.h> void main() { int ar[100],beg,mid,end,i,n,search; clrscr(); coutn; cout

C++ Program to implement a stack using linked list 22

C++ Program to implement a stack using linked list

C++ Program to implement a stack using linked list. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program to implement a stack using linked list. ***************************************************************/ #include<conio.h> #include<iostream.h> #include<process.h> #include<malloc.h> // Creating...

C++ Program implement a stack using an array 12

C++ Program implement a stack using an array

C++ Program implement a stack using an array. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program implement a stack using an array ***************************************************************/ #include<conio.h> #include<iostream.h> #include<process.h> void main() { int stack[150],top,n,i,max_stack,choice,element,n_pop;...

C++ Program to add and subtract 2 sparse matrices 0

C++ Program to add and subtract 2 sparse matrices

C++ Program to add and subtract 2 sparse matrices. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program to add and subtract 2 sparse matrices ***************************************************************/ #include<conio.h> #include<iostream.h> #include<process.h> int main() {...

C++ Program to find the transpose of a Sparse matrix 0

C++ Program to find the transpose of a Sparse matrix

C++ Program to find the transpose of a Sparse matrix. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program to find the transpose of a Sparse matrix ***************************************************************/ #include

C++ Program to implement a single linked list 1

C++ Program to implement a single linked list

C++ Program to implement a single linked list and Perform the following operations. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program to implement a single linked list and Perform the following...

C++ Program for Selection sort 1

C++ Program for Selection sort

C++ Program for Selection sort . /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program for Selection sort . ***************************************************************/ #include #include #include void main() { int array[100],n,i,j,temp; clrscr(); cout>n; cout

C++ Program for QUICK SORT 7

C++ Program for QUICK SORT

C++ Program for QUICK SORT. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program for QUICK SORT. ***************************************************************/ #include #include #include void quickSort(int numbers[], int array_size); void q_sort(int numbers[], int left, int...