how to take input for uint32_t variable

Posted by sksingh73 on Stack Overflow See other posts from Stack Overflow or by sksingh73
Published on 2010-05-24T18:23:35Z Indexed on 2010/05/24 18:31 UTC
Read the original article Hit count: 147

Filed under:

i have declared a variable as uint32_t num; when i take input for this variable i.e cin>>num; cout<

when i run this program, i gives num value as 12345678, it works fine & give cout. but when i give input as 1234abcd. it creates problem & displays only 1234. please suggest solution to resolve this problem.

© Stack Overflow or respective owner

Related posts about uint32