slinga
Established Member
Hey guys,
I'm a pretty crappy programmer, but I got a crazy side project I want to do some work on. (I'm also bad at math, so I have no way of realizing how feasible this is.)
What I'm trying to do is loop through every possible 64 character string imaginable, where the legal characters are 0-9,A,B,C. So I'm guessing on the order of ~13^64 possible strings.
Something like:
0000....................000
0000....................001
0000....................002
...
...
...
CCC....................CCA
CCC....................CCB
CCC....................CCC
And the string has to be an array, because I need to search each component individually. For example I have to be able to determine if the array contains a B or a 9, and the only way I know how to do that is to have a nested for loop search each index of the array until I find that value.
So anyway I'm rambling on, one problem at a time, how do I store a value of 13^64 in C? Do I even have enough ram (yep I'm REALLY terrible at math). Thanks in advance.
I'm a pretty crappy programmer, but I got a crazy side project I want to do some work on. (I'm also bad at math, so I have no way of realizing how feasible this is.)
What I'm trying to do is loop through every possible 64 character string imaginable, where the legal characters are 0-9,A,B,C. So I'm guessing on the order of ~13^64 possible strings.
Something like:
0000....................000
0000....................001
0000....................002
...
...
...
CCC....................CCA
CCC....................CCB
CCC....................CCC
And the string has to be an array, because I need to search each component individually. For example I have to be able to determine if the array contains a B or a 9, and the only way I know how to do that is to have a nested for loop search each index of the array until I find that value.
So anyway I'm rambling on, one problem at a time, how do I store a value of 13^64 in C? Do I even have enough ram (yep I'm REALLY terrible at math). Thanks in advance.