Hi..I'm new to programming.Could someone tell me what is the ANSI code for ctrl-c in java? Because I often use ctrl-z in C and ctrl-z in C has -1 for the ANSI code.
Thank you
Printable View
Hi..I'm new to programming.Could someone tell me what is the ANSI code for ctrl-c in java? Because I often use ctrl-z in C and ctrl-z in C has -1 for the ANSI code.
Thank you
Ctrl+C = 3Quote:
Originally Posted by QQQ
Ctrl+Z = 26
Ctrl+<letter> = numerical order of the letter: A = 1, B = 2 ...
- but -
if you're running a non-graphical app, Ctrl+C will trigger the program termination.