Programming
64bit OS에서 C++과 C# 데이터 차이 비교 ( c++ vs c# datatype )
DragonTory
2022. 7. 6. 16:01
반응형
64bit OS에서 C++과 C# 데이터 차이 비교 ( c++ vs c# datatype )
CTS | C++ | C# | Size(byte) |
System.Byte | unsigned char | byte | 1 |
System.SByte | signed char | sbyte | 1 |
System.Int16 | short | short | 2 |
System.UInt16 | unsigned short | ushort | 2 |
System.Int32 | int | int | 4 |
System.Int64 | long, long long | long | 8 |
System.Single | float | float | 4 |
System.Char | wchar_t | char | 2 |
System.Double | double | double | 8 |
System.UInt64 | size_t | ulong | 8 |
System.IntPtr | void * (pointer) | IntPtr | 8 |
반응형