Hi
Given 4 contiguous bites, how the computer know if that is an ASCII character or integer value?
Thanks
mauro21pl
10
Junior Poster in Training
Recommended Answers
Jump to PostI don't understand. I guess it depends on the data type of the variable that you're storing the bytes in.
Jump to Post> how the computer know if that is an ASCII character or integer value?
It doesn't.
That's for you (as a programmer) to decide, based on how you try and use that data.
All 7 Replies
Hamrick
150
Posting Whiz
Salem
5,138
Posting Sage
TheGathering
12
Junior Poster
mauro21pl
10
Junior Poster in Training
Salem
5,138
Posting Sage
Hamrick
150
Posting Whiz
Bench
212
Posting Pro
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.