basic struct for loop run

This commit is contained in:
hugogogo
2026-05-06 17:39:47 +02:00
parent 93647b56b5
commit 0046409c89
3 changed files with 18 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
#include <errno.h> // for errno
#include <string.h> // for strerror
#include <sys/wait.h>
#include <termios.h> // For tcflush() and TCIFLUSH
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* COMPUTORV1.C
*/
@@ -18,6 +21,7 @@ typedef enum
{
MODE_ARGV, //
MODE_STDIN, //
MODE_LOOP, //
} e_program_mode;
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -99,7 +103,7 @@ void reduce(s_term *terms, double *polynom);
*/
void print_state();
int stop_errors(const char *format, ...);
void stop_errors(const char *format, ...);
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* UTILS/PRINT_ENUMS.C