I realize there are many ways to store large numbers in c++ (and by large I mean too large for long doubles), but none of them were really what I was looking for. I don't just need to store large numbers in which case I would use GMP or something, I need to store them into char arrays. Right now I have a snippet of code that makes logical sense but in fact doesn't work,
char* cp;
cp = new char [32]
*cp = 123456789345123452345345634563456234;
//Doesn't work when I put an L at the end of the number either.
Also, I'm one of those weirdos that needs to know how the code they are using works, so please don't say I can still manage this by screwing around with bigint libraries, I would actually like to know how to do it like this.
Thanks a lot in advance