Skip to content

Instantly share code, notes, and snippets.

@sbogolepov
Created October 27, 2013 16:02
Show Gist options
  • Save sbogolepov/7184227 to your computer and use it in GitHub Desktop.
Save sbogolepov/7184227 to your computer and use it in GitHub Desktop.
<3
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <limits.h>
int char_to_value (char ch);
int *number_to_array (char *number);
int is_valid_number (int *digits, int basement);
unsigned int convert_to_ten_base (int *digits, int base, int *err);
char *convert_from_ten_base (unsigned int value, int base);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment