April 22, 2024, 8:41 p.m. | Leo

DEV Community dev.to

main



/*
AUTOR: Neftalí Leobardo Vázquez Castillo
CURSO: Sistemas Operativos
PROGRAMA: Planificación de Procesos
FECHA: 19 de Abril del 2024
*/

#include <iostream>
#include "so.hpp"

int main(){

int n, op;
cout << "\n\t Planificacion de procesos - Sistemas Operativos";
cout << "\n\n\tIngrese el numero total de procesos a trabajar: ";
while (!(cin >> n)) {
cin.clear();
cin.ignore(100, '\n');
system("cls");
cout << "\n\tError: Entrada invalida. \n\tPor favor, ingrese un numero entero para el total de procesos: ";
}
system("cls");
process so(n); …

autor clear total

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Data Engineer (m/f/d)

@ Project A Ventures | Berlin, Germany

Principle Research Scientist

@ Analog Devices | US, MA, Boston