You can open the file in binary mode.
Let's suppose that f is a FILE pointer to your opened file.
You can read the numbers with the following:
[code]
#define MAX 100
char paranthesis, digit, characters[MAX], character;
int nr1, nr2;
fread(& paranthesis, sizeof(char), 1, f);//you can test this...