i have just started learning c++ programming for my project. my knowledge to c++ is nearly 0%. Please, i hope someone will give me some pointers on the following question.

i am using c++ to control a keypad. i have the code for my keypad to work well. that is whenever a key (1, 2, 3, 4, 5, 6, 7, 8, 9, 0) is pressed, the digit pressed will display on the lcd screen. my problem now is that, i need to store 16 digits pressed into a variable perharps...

for example, i pressed "2" "5" "6" "8" "1" "4".... my variable will store "256814..." which are the digits i pressed.

can some kind souls please give me some pointers on how to store the digits pressed into some location..