This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#define FACTOR_LIMIT 100 // Supports atm max 100 factors. | |
void die(const char *message) | |
{ | |
if (errno) { | |
perror(message); |