Visual Basic .NET <-> C++ | Explicit conversion to 32-bit unsigned integer

Visual Basic .NET

CUInt

Description

 CUInt (expr)
Used keywords: cuint

Input


Output

Examples

Visual Basic .NET

Explicit conversion to 32-bit unsigned integer the possible of use:
xmin = 0
 ymax = 4294967295
Dim x As uinteger=70000           ' x = 70000
Dim y As uinteger= 1025 \ 8  ' y = 128
y = CUInt((x * y))      ' z = 875043750
.
C++

explicit conversion to 32-bit unsigned integer

Description

( type ) expression

Input


Output

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++

Explicit conversion to 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: explicit type conversions
Explicit conversion to 32-bit unsigned integer in another programming language:
Differences to:
Languages: en hu cz sk