1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

c++ builder > uint8_t / uint16_t / uint32_t を使う > #include <stdint.h>

Last updated at Posted at 2015-08-19
動作確認
C++ Builder XE4

uint16_tなどの型を使う時、以下のようにする。

# include <stdint.h>

ヘルプで検索しても先に出てくるのはIndyの定義で IdRawHeaders をインクルードするように書かれているが、こちらをインクルードすると以下のエラーとなる。

E2015 'std::uint16_t'と'Idrawheaders::uint16_t'の区別が曖昧

関連
http://ja.stackoverflow.com/questions/9423/char-u%E3%82%92uint8-t%E3%81%AB%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%E6%A0%B9%E6%8B%A0

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?