Search:

Type: Posts; User: sliceofpi

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,503

    Thanks for the help, your answer made sense. Also...

    Thanks for the help, your answer made sense. Also In this case I only ever want 1 queue, so a global head is fine for me. This was just a test program because I was confused, so I didn't manage my...
  2. Replies
    2
    Views
    2,503

    Queue in C showing odd behavior

    Hi guys! I'm working on a project in C that requires a few queues, so I started to write a basic linked list style data structure that I could treat as a queue. Once I got the node struct and push()...
  3. Replies
    6
    Views
    3,888

    I liked the idea of your snippet of code that you...

    I liked the idea of your snippet of code that you posted, but it raises a few more questions for me - since I have buffering off I only want one byte per time but these keys send anywhere from 2-4...
  4. Replies
    6
    Views
    3,888

    So this issue now is that since Im only...

    So this issue now is that since Im only processing one byte at a time, I can strip/skip the leading \x00 or \xE0 but since those are followed by one or two bytes, the rest still prints. At least they...
  5. Replies
    6
    Views
    3,888

    Thanks so much! Now that I know I can identify...

    Thanks so much! Now that I know I can identify them by prefix I should be good to go - much appreciated :)
  6. Replies
    6
    Views
    3,888

    Filtering out non-ASCII keyboard input

    Hello all - I have a simple program that mimics taking in a password in the terminal. To do this I turn off echoing and Icanon so that I can process each char as it is typed. I check if the current...
Results 1 to 6 of 6