hey anyone know what the largest value that can be stored in an integer variable is? likewise is there a double / long type of deal that isnt of float type? thanks
jamboadams 0 Newbie Poster
Recommended Answers
Jump to Post— Member #27895hey anyone know what the largest value that can be stored in an integer variable is?
That is up to your implementation, but you can assume that the size of an int is the natural word size of your system. A 32 bit system will most likely have 32 bit …
Jump to Post— Tight_Coder_Ex 17There is a file called LIMITS.H that has all the values you are looking for.
Jump to Post— Member #27895A 20 character long hexadecimal value would exceed any of C++'s types. Try an arbitrary precision library such as .
All 9 Replies
Member #27895
Tight_Coder_Ex 17 Posting Whiz in Training
jamboadams 0 Newbie Poster
Member #27895
jamboadams 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
Tight_Coder_Ex 17 Posting Whiz in Training
35nando 0 Newbie Poster
vmanes 1,165 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.