atof() from cstdlib returns double, not long double, hence my problem.
I thought about this:
(long double)atof(cstr)
But I don't like that, because atof returns double (I need long double, and casting a double to a long double isn't a damn solution, since I might end up loosing some decimal points in my original long double). It bothers me I can use sprintf to place a long double in a string, yet I can't seem to do the opposite. Perhaps there's some trick i'm not aware of.
Looked on various sites, and didn't see anything about solving this problem :|.