i need to do this:
static const double SCALE = 2.0 / VALUE;
where value is the variable i need to calculate with the sizeof. So I can fill half of VALUE with type long, and all of VALUE with...
Type: Posts; User: 00hubblemp
i need to do this:
static const double SCALE = 2.0 / VALUE;
where value is the variable i need to calculate with the sizeof. So I can fill half of VALUE with type long, and all of VALUE with...
I'm trying to write an expression in a single line that can do the following:
take the sizeof(type), then fill a long long variable with 1's for the amount of bytes given by the sizeof.
For...