Boost logo

Boost Users :

From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2006-03-28 12:54:38


I tried to supply a hex number to an unsigned long integer. But it fails.

("code", po::value<unsigned long>(), "Via pattern code")

Error message:
in option 'code': invalid option value '0x5A'

Could you please let me if it is possible to input a hex form integer in the
command line?

Thanks,
Peng


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net