Files
TDT4200/exercise4/argument_utils.h
2025-10-07 17:12:13 +02:00

22 lines
351 B
C

#ifndef _ARGUMENT_UTILS_H_
#define _ARGUMENT_UTILS_H_
#include <stdint.h>
typedef int64_t int_t;
typedef struct options_struct {
int_t M;
int_t N;
int_t max_iteration;
int_t snapshot_frequency;
} OPTIONS;
OPTIONS *parse_args ( int argc, char **argv );
void help ( char const *exec, char const opt, char const *optarg );
#endif