C# <-> C++ | 32-bit unsigned integer

C#

uint

Description

 uint
Used keywords: uint

Examples

C#

32-bit unsigned integer the possible of use:
xmin = 0; ymax = 4294967295;
uint x=70000;           // x = 70000
uint y = 1025 / 8;  // y = 128
y = (uint)(x * y);      // z = 875043750
.
C++

unsigned long

Description

 unsigned  long
Used keywords: long unsigned
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.

Examples

C++

32-bit unsigned integer the possible of use:
xmin = 0; ymax = 4294967295;
unsigned long x=70000;           // x = 70000
unsigned long y = 1025 / 8;  // y = 128
y = (unsigned long)(x * y);      // z = 875043750
C#

UInt32

Description

 UInt32
Used keywords: uint32

Examples

C#

32-bit unsigned integer the possible of use:
xmin = 0; ymax = 4294967295;
UInt32 x=70000;           // x = 70000
UInt32 y = 1025 / 8;  // y = 128
y = (UInt32)(x * y);      // z = 875043750
.
C++

unsigned long

Description

 unsigned  long
Used keywords: long unsigned
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.

Examples

C++

32-bit unsigned integer the possible of use:
xmin = 0; ymax = 4294967295;
unsigned long x=70000;           // x = 70000
unsigned long y = 1025 / 8;  // y = 128
y = (unsigned long)(x * y);      // z = 875043750

You can find it in the following collections: unsigned integers | integers | numbers | data types
Languages: en hu cz sk