Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.
AshwinCareem
0
Newbie Poster
Recommended Answers
Jump to PostHi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.
The number of bits depend on the compiler. I'm sorry, but I ā¦
Jump to Postif we suppose you are using VC++ 7.0 or 8.0, ints and floats are often 32-bit, chars 8-bit, and doubles are usually 64-bit.
strings is not a base type.
All 5 Replies
Ravalon
62
Posting Whiz in Training
VatooVatoo
21
Light Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
orangejuice2005
0
Junior Poster in Training
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
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.