an
saurus
tags:
uint32
views:
20
answers:
1
Q:
how to take input for uint32_t variable
+1
A:
Use
std:: cin >> std::hex >> num;
if you want to read hex numbers.
nc3b
2010-05-24 18:28:18
thanks. it worked
2010-05-24 18:33:42
@sksingh73 Please consider accepting this answer, then.
luiscubal
2010-05-24 18:37:19
related questions
Compile time checking existance of stdint.h
Fastest way to cast int to UInt32 bitwise?
In C# should I use uint or int for values that are never supposed to be negative?
NHibernate - How to store UInt32 in database
What is the difference between Int32 and UInt32?
What is the UInt32 data type in Visual Basic .NET?
Objective C - Are SystemSoundID's (typedef'd UInt32) automatically assigned 0?
How to pass uint in Java?
How to sort List<List<UInt32>> according to List<UInt32>[0] number ASC/DESC in C#?
C# Problem using blowfish NET: How to convert from Uint32[] to byte[]
How to map uint in NHibernate with SQL Server 2005
In C# is there any significant performance difference for using UInt32 vs Int32