Обработка нажатия клавиш

    Date: 04/11/06 (Code WTF)    Keywords: no keywords

    Взято из реального кода:

    case VK_ADD:
    case VK_SUBTRACT:
    case VK_MULTIPLY:
    for (j = 0; j < CHN_TU; j ++)
    if (k == VK_ADD)
    flag[j] = TRUE;
    else
    if (k == VK_SUBTRACT)
    flag[j] = FALSE;
    else
    if (k == VK_MULTIPLY)
    flag[j] = !flag[j];

    Source: http://community.livejournal.com/code_wtf/34546.html

« beeline.ua || Как настоящий... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home