Top "Uint" questions

is a type of variable and is used to store the equivalent of a mathematical non-negative integer

Get Unix timestamp with C++

How do I get a uint unix timestamp in C++? I've googled a bit and it seems that most methods …

c++ unix timestamp uint
Difference between uint and unsigned int?

Is there any difference between uint and unsigned int? I'm looking in this site, but all questions refer to C# …

c gcc uint
Printing a void* variable in C

Hi all I want to do a debug with printf. But I don't know how to print the "out" variable. …

c printf void-pointers uint
C# convert string to uint

So, I have a string of 13 characters. string str = "HELLOWORLDZZZ"; and I need to store this as ASCII representation (hex) …

c# string uint
How to convert char to hex stored in uint8_t form?

Suppose I have these variables, const uint8_t ndef_default_msg[33] = { 0xd1, 0x02, 0x1c, 0x53, 0x70, 0x91, 0x01, 0x09, 0…

c hex uint
Using a typedef'd uint causes error, while "unsigned int" does not...?

For some reason, when I define a variable as "uint" instead of "unsigned int" in my program, it errors. This …

c++ gcc typedef unsigned uint
How can I convert a signed integer into an unsigned integer?

The piece of code is like:- int x = -24; uint y = (uint) x; Console.WriteLine("*****" + y + "********"); // o/p is *****4294967272******** …

c# integer uint
Generate random uint

I need to generate random numbers with range for byte, ushort, sbyte, short, int, and uint. I am able to …

c# random uint
Swift: How to convert String to UInt?

According to Swift - Converting String to Int, there's a String method toInt(). But, there's no toUInt() method. So, how …

string swift type-conversion uint
Convert -1 to uint C#

Converting -1 to uint will not work "((uint)(-1))" solution? num10 = ((uint)(-1)) >> (0x20 - num9); Error: Constant …

c# overriding unchecked uint