I'm using Borland C++ Builder, I wrote a class where I had to use this header "inttype.h" because I'm using 'int64_t'. the problem is I have this error telling me it can open this include file:
[C++ Error] RSA.h(3): E2209 Unable to open include file 'inttypes.h'
in Code::Blocks I didn't have this problem, so I thought C++ Builder doesn't have this file, so I added 'inttypes.h' from Code::Blocks directory to my project in C++ Builder but still the same error.
how can I surpass this problem ? or if I can't include this file, what are long integer variables I can use instead of 'int64_t' ?
EDITED:
my C++ Builder version is 6
thanks, I finally found a solution is one could say. instead of using "inttypes.h" I used "stdint.h"
but still wondering, can this stdint.h do all the things inttypes.h can do ?
inttypes is a c99 header. probably your compiler does not fully support c99.
you may try #include <cinttypes> which is the c++ variant. or the more basic stdint.h or cstdint
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With