Skip to content

Commit

Permalink
Fix Typo ✍️
Browse files Browse the repository at this point in the history
  • Loading branch information
moazmohamed20 committed Mar 5, 2024
1 parent be0f059 commit bff8ec5
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Deadlock Algorithms/Detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/FIFO.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -77,4 +76,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/LFU.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -90,4 +89,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/LRU.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -93,4 +92,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/MFU.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -90,4 +89,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/MRU.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -93,4 +92,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
3 changes: 1 addition & 2 deletions Page Replacement Algorithms/Optimal.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <iostream>

using namespace std;
Expand Down Expand Up @@ -95,4 +94,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
2 changes: 1 addition & 1 deletion Process Scheduling Algorithms/FCFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}
2 changes: 1 addition & 1 deletion Process Scheduling Algorithms/RR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ int main(int argc, char const *argv[])

getchar();
return 0;
}
}

0 comments on commit bff8ec5

Please sign in to comment.