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>;