Hello Guys,
Here's my first question here ^_^
I'm having a hard time in parsing a command line argument in C++. Let's take for example a msisdn.
# ./foobar 639171234567
I want to be stored in an unsigned character array like this:
unsigned char x[0] = 0x63;
unsigned char x[1] = 0x91;
unsigned char x[2] = 0x71;
.
.
.
The input can be obtained from command line or in a file/database. Anyone had a similar problem like this and solved it? Thanks in advance.
Here's my first question here ^_^
I'm having a hard time in parsing a command line argument in C++. Let's take for example a msisdn.
# ./foobar 639171234567
I want to be stored in an unsigned character array like this:
unsigned char x[0] = 0x63;
unsigned char x[1] = 0x91;
unsigned char x[2] = 0x71;
.
.
.
The input can be obtained from command line or in a file/database. Anyone had a similar problem like this and solved it? Thanks in advance.
Comment