cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
8 bit number
8 bit number
Sep 10, 2010 at 7:52am UTC
Citis
(19)
Is there a 8-bit-size numberic data type? By ''numberic data type'' I mean that I can use this data type in numerical expressions like
(a+2)^b
or
int
i=5*a
.
Sep 10, 2010 at 8:02am UTC
jsmith
(5804)
char and unsigned char.
Sep 10, 2010 at 12:25pm UTC
LB
(13399)
And signed char.
Just "char" by itself may be signed or unsigned depending on the compiler.
Sep 10, 2010 at 2:19pm UTC
moorecm
(1932)
int8_t and uint8_t.
Last edited on
Sep 10, 2010 at 2:20pm UTC
Sep 10, 2010 at 2:38pm UTC
Duthomhas
(13206)
For those you must #include <stdint.h>
Sep 11, 2010 at 6:48am UTC
Citis
(19)
Thank you!
Topic archived. No new replies allowed.