Indexed File Allocation Program in C++

Indexed File Allocation Program in C++ #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int files[50], indexBlock[50], indBlock, n; void recurse1(); void recurse2(); void recurse1(){ cout << "Enter the…

0 Comments

Hybrid Inheritance in C++

Hybrid Inheritance in C++ #include <iostream> using namespace std; // base class class Vehicle { public: Vehicle() { cout << "This is a Vehicle" << endl; } }; //base class…

0 Comments

C++ Program of Shortest Remaining Time First(SRTF) Scheduling

C++ Program of Shortest Remaining Time First(SRTF) Scheduling #include<iostream> using namespace std; int main() { int a[10],b[10],x[10]; int waiting[10],turnaround[10],completion[10]; int i,j,smallest,count=0,time,n; double avg=0,tt=0,end; cout<<"\nEnter the number of Processes: "; //input…

0 Comments

Merge Sort in C++

We can sort array using merge sort in C++ language. Merge sort is an algorithm which is used to sort array elements. This algorithm divides the array elements into two…

0 Comments

Student Management System in C++

We can manage student data by creating student management data in C++ language. We can create student profile, view, display, search, modify or delete student profiles in this student management…

1 Comment