diff --git a/Deadlock Algorithms/Detection.cpp b/Deadlock Algorithms/Detection.cpp index 83d1659..eb30363 100644 --- a/Deadlock Algorithms/Detection.cpp +++ b/Deadlock Algorithms/Detection.cpp @@ -43,7 +43,7 @@ int *detectDeadlocks() hasChanged = false; // Loop Through Processes for (p = 0; p < PN; p++) - // If The Procces Not Executed Before + // If The Proccess Not Executed Before if (finished[p] == 0) { // Check: Is This Process Request Resources More Than The Available? diff --git a/Page Replacement Algorithms/FIFO.cpp b/Page Replacement Algorithms/FIFO.cpp index 3296afe..728c363 100644 --- a/Page Replacement Algorithms/FIFO.cpp +++ b/Page Replacement Algorithms/FIFO.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -77,4 +76,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Page Replacement Algorithms/LFU.cpp b/Page Replacement Algorithms/LFU.cpp index 826f054..41d2fe5 100644 --- a/Page Replacement Algorithms/LFU.cpp +++ b/Page Replacement Algorithms/LFU.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -90,4 +89,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Page Replacement Algorithms/LRU.cpp b/Page Replacement Algorithms/LRU.cpp index 45ba14e..7e52417 100644 --- a/Page Replacement Algorithms/LRU.cpp +++ b/Page Replacement Algorithms/LRU.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -93,4 +92,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Page Replacement Algorithms/MFU.cpp b/Page Replacement Algorithms/MFU.cpp index 112e33b..ea678cb 100644 --- a/Page Replacement Algorithms/MFU.cpp +++ b/Page Replacement Algorithms/MFU.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -90,4 +89,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Page Replacement Algorithms/MRU.cpp b/Page Replacement Algorithms/MRU.cpp index 34fb59e..6e46561 100644 --- a/Page Replacement Algorithms/MRU.cpp +++ b/Page Replacement Algorithms/MRU.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -93,4 +92,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Page Replacement Algorithms/Optimal.cpp b/Page Replacement Algorithms/Optimal.cpp index cdc6774..767c125 100644 --- a/Page Replacement Algorithms/Optimal.cpp +++ b/Page Replacement Algorithms/Optimal.cpp @@ -1,4 +1,3 @@ - #include using namespace std; @@ -95,4 +94,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Process Scheduling Algorithms/FCFS.cpp b/Process Scheduling Algorithms/FCFS.cpp index 6d2dd9c..ed114d6 100644 --- a/Process Scheduling Algorithms/FCFS.cpp +++ b/Process Scheduling Algorithms/FCFS.cpp @@ -67,4 +67,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file diff --git a/Process Scheduling Algorithms/RR.cpp b/Process Scheduling Algorithms/RR.cpp index eae68b3..df757a6 100644 --- a/Process Scheduling Algorithms/RR.cpp +++ b/Process Scheduling Algorithms/RR.cpp @@ -129,4 +129,4 @@ int main(int argc, char const *argv[]) getchar(); return 0; -} +} \ No newline at end of file