본문 바로가기
VisualStudio.C++.C#/코딩팁,함수활용,단편

C#. 자료형 바이트 사이즈 , C/C++ 대응

by i.got.it 2020. 10. 29.

 

 

 

  C# C/C++ ( C99표준 ) Byte
  sbyte int8_t 1
  byte uint8_t 1
  short int16_t 2
  ushort uint16_t 2
  int int32_t 4
  uint uint32_t 4
  long int64_t 8
  ulong uint64_t 8
       

* C99 표준정수형

 

  C# C/C++ Byte
  float float 4
  double double 8
  decimal   16
       

 

 

 

연관 

 

 

Fixed width integer types C99표준. VC++에서는 stdint.h 에 정의 있음. uint8_t, uint64_t 등.

Fixed width integer types (since C99) Types Defined in header int8_t int16_t int32_t int64_t signed integer type with width of exactly 8, 16, 32 and 64 bits respectively with no padding bits and usi..

igotit.tistory.com

 


첫 등록 : 2020.10.29

최종 수정 : 

단축 주소 : https://igotit.tistory.com/2671

 


 

'VisualStudio.C++.C# > 코딩팁,함수활용,단편' 카테고리의 다른 글

MFC. resource ID 네이밍 , 넘버링 컨벤션.  (0) 2020.11.15
jsoncpp. 라이브러리 설치  (0) 2020.11.04
C#. FindWindow. SendMessage. WM_COPYDATA  (0) 2020.10.28
std::deque .  (0) 2020.10.21
std::queue.  (0) 2020.10.17

댓글



 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5