Felis_Silvestris
Junior Member level 2
- Joined
- Dec 27, 2007
- Messages
- 23
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,283
- Location
- San Jose, CA
- Activity points
- 1,517
I’m totally stuck.
Here is what I’m trying to do:
I’m using Visual C++ 2008 and built a form that uses a text box
The user enters a four digit alphanumeric code into the text box.
I read this text using: textbox->text
Next, I need to separate the four digits into ASCII code.
The ASCII code of each character is placed in this array (exactly like this)
InputBuffer[2] = <ascii code of first digit>;
InputBuffer[3] = <ascii code of second digit>;
InputBuffer[4] = <ascii code of thrid digit>;
InputBuffer[5] = <ascii code of fourth digit>;
Here is what I’m trying to do:
I’m using Visual C++ 2008 and built a form that uses a text box
The user enters a four digit alphanumeric code into the text box.
I read this text using: textbox->text
Next, I need to separate the four digits into ASCII code.
The ASCII code of each character is placed in this array (exactly like this)
InputBuffer[2] = <ascii code of first digit>;
InputBuffer[3] = <ascii code of second digit>;
InputBuffer[4] = <ascii code of thrid digit>;
InputBuffer[5] = <ascii code of fourth digit>;