Hiya, im currently coding a word-wrapping function to make dialogs alot easier to manage.
Basically, i have virtual_keyboard_input which is a CHAR array (something like 350 big)
And all i want to do is show one of the characters in the char array,
so for instance, lets assume the 5th letter is A
(virtual_keyboard_input[4] = 'A'
i just want GpTextOut to show that one character, but when i throw the char array at it and specify which array i want it to read it just refuses and draws the whole bloody thing every time.
anybody know a way of doing this? im sure its simple but being pretty new to C i dont know where im going wrong
regards
Code:
GpTextOut(NULL, &LCDbuffer[nflip], x, y, (char*)virtual_keyboard_input[i], 0x07);
Basically, i have virtual_keyboard_input which is a CHAR array (something like 350 big)
And all i want to do is show one of the characters in the char array,
so for instance, lets assume the 5th letter is A
(virtual_keyboard_input[4] = 'A'
i just want GpTextOut to show that one character, but when i throw the char array at it and specify which array i want it to read it just refuses and draws the whole bloody thing every time.
anybody know a way of doing this? im sure its simple but being pretty new to C i dont know where im going wrong
regards