Search:

Type: Posts; User: joecaveman

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    6,665

    if((i==9) && (toupper(*(code + i)) == 'x')) ...

    if((i==9) && (toupper(*(code + i)) == 'x'))

    Perhaps you want:


    if((i==9) && (toupper(*(code + i)) == 'X'))

    With an uppercase x.
  2. Replies
    11
    Views
    1,808

    Depending on what you are using it for, you might...

    Depending on what you are using it for, you might also want to replace it by implementing different functions/procedures.
  3. Replies
    5
    Views
    1,238

    32-bit unsigned inetegers.

    I need to have a variable store the number: 4294967295.

    The line of code:


    long int unsigned checksum = 4294967295;


    Generates the warning:
    [Warning] this decimal constant is unsigned...
  4. Replies
    2
    Views
    1,556

    Ok, thanks for your help. :D

    Ok, thanks for your help. :D
  5. Replies
    2
    Views
    1,556

    Switch selection statement

    Is there any way of testing for a range of values in a switch statement?

    such as:
    int main() {

    int x = 5;

    switch(x) {
    case 4, 5, 6 :
    break;
  6. Replies
    2
    Views
    2,340

    Thanks for the help, and additional advice.

    Thanks for the help, and additional advice.
  7. Replies
    2
    Views
    2,340

    Keyboard hook

    I have a program that records keyboard input and writes it to a file, but I think the program receives the keyboard values corresponding to certain characters, and not the ASCII values. Ex: The...
  8. Replies
    16
    Views
    3,489

    krak, those are some good references, but i have...

    krak, those are some good references, but i have a question..

    all the tutorials i have seen #include glaux.h, which doesn't seem to come with devcpp, also, my google searches always return results...
  9. Replies
    2
    Views
    1,520

    thanks, problem solved

    thanks, problem solved
  10. Replies
    2
    Views
    1,520

    send() characters from integers

    If i use the following statement:

    printf("%c",number);
    the ascii correspondent to 'number' will be printed, how can i do the same with the send command?

    this is an example of the send()...
  11. Replies
    3
    Views
    1,347

    multithread in 98

    i'm new to windows programming, and i want to know how to create new threads, the only thing i can find is on msdn is about createthread()... but apperently thats for windows server editions or...
Results 1 to 11 of 13