CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: ctr-c in java

  1. #1
    Join Date
    Oct 2004
    Posts
    13

    Smile ctr-c in java

    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

  2. #2
    Join Date
    May 2004
    Posts
    45

    Re: ctr-c in java

    Quote Originally Posted by QQQ
    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 = 3

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured