Equivalentes do estrutura .NET para tipos de C++ nativo
A tabela a seguir mostra as palavras-chave para tipos internos Visual C++, que são alias dos tipos predefinidos no Sistema namespace.
Visual C++ tipo |
Tipo .NET Framework |
---|---|
bool |
sistema.booliano |
char assinado (see /J para obter mais informações) |
sistema.SByte |
unsigned char |
System.Byte |
wchar_t |
sistema.Char |
duplo and dupla longa |
sistema.Double |
float |
sistema.Single |
int, int assinado, longo, and assinado longo |
sistema.Int32 |
int não assinado and unsigned long |
sistema.UInt32 |
__int64 and __int64 assinado |
sistema.Int64 |
unsigned __int64 |
sistema.UInt64 |
curto and curto assinado |
sistema.Int16 |
unsigned short |
sistema.UInt16 |
Void |
sistema.void |