S
sandSpiderX
Hi,
I have to develop a program to compute range of all data types at run
time...
meaning say char c;
now I have to see how many characters char can represent,,
one logic i think is to start incrementing till the loop goes back to 0
(for unsigned) and/or -128 (for signed)....
However this cycling is unifrom across all platforms or not...
What other way can this be done...without using header defined limit
constants....
Help me..with this..
sandSpiderX
I have to develop a program to compute range of all data types at run
time...
meaning say char c;
now I have to see how many characters char can represent,,
one logic i think is to start incrementing till the loop goes back to 0
(for unsigned) and/or -128 (for signed)....
However this cycling is unifrom across all platforms or not...
What other way can this be done...without using header defined limit
constants....
Help me..with this..
sandSpiderX