|
Re: shift key escape sequence
I believe the shift keys are ordinal values 14/15 or so. It probably varies between Windows and Linux too. If you were to use them as a sequence to literally shift before a character, it might be something like printf("%ca", 15). But, as far as I know, that does not work.
Why not use a prebuilt function for capitalizing letters? What do you need to do this for anyways?
|