Dave’s Brain
Home
Search
Browse
Recent
Keywords
Other sites
Feedback
Sign in
Random
Crawlers
Programming Tips
- I am getting a compile error about uint8_t undefined.
Date:
2015jun10
Language:
C/C++
Keywords:
uint16_t, uint32_t, uint64_t
Q.
I am getting a compile error about uint8_t undefined. How can fix it?
A.
On Linux:
#include
<inttypes.h>
On Windows:
#include
<stdint.h>
More info
http://en.wikipedia.org/wiki/C_data_types#stdint.h