View Single Post
Old Mar 5th, 2008, 8:34 AM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,886
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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?
Sane is offline   Reply With Quote