Search:

Type: Posts; User: Cynary

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    6,656

    I still don't have a device. That's one of the...

    I still don't have a device. That's one of the things I'm looking advice on.
    Which would be easier to work? USB or Serial?
    Will any USB/Serial magstripe/smartcard reader/writer work with the same...
  2. Replies
    4
    Views
    6,656

    Magnetic Stripe Card reading/writing

    I would like to know if there are any standard APIs to write and read to/from magnetic stripe cards, for C, under linux.
    Other than that, I'd like to know if anyone knows any magnetic stripe card...
  3. Replies
    10
    Views
    11,094

    Thanks for your help! I'll start studying X...

    Thanks for your help!
    I'll start studying X tomorrow.
    Although monitoring X events is probably the best way to find a mouse up event, I developed in the meanwhile a simpler code to do that, that...
  4. Replies
    10
    Views
    11,094

    If it wasn't much trouble, I'd thank if you...

    If it wasn't much trouble, I'd thank if you taught me how to make requests to the window of the console emulator. The program doesn't really need a GUI, and I want to keep it as simples as I can.
    ...
  5. What's the error that you have? It is terribly...

    What's the error that you have?
    It is terribly annoying, that's a fact xD
    If you're using linux, don't forget to include the math library in the compiler line.
    To compile it using gcc, would be...
  6. Replies
    10
    Views
    11,094

    I've been to those sites that you provided, and...

    I've been to those sites that you provided, and use getch() in the program. The problem is that I didn't see anything about using it to detect when a key is released.
    Doesn't getch() only return a...
  7. When you use floats/doubles, there's an error. In...

    When you use floats/doubles, there's an error. In this case, although the number appears as 1.00000 in printf, it's just rounded from 0.99999999 (at least on my computer, I believe in other machines,...
  8. Replies
    10
    Views
    11,094

    I've searched through ncurses tutorials, FAQs,...

    I've searched through ncurses tutorials, FAQs, etc. and can't find anything about key releases :S
    Do you know of a function/variable name I can look that may give me more information?
    Thanks.
  9. Replies
    6
    Views
    1,473

    As sean mentioned, the problem is the variable...

    As sean mentioned, the problem is the variable scope. Two possible solutions for this are using either global variables or pointers, exactly the same way you did with the input function.
    An example...
  10. Replies
    8
    Views
    3,693

    For a and b, you do the same thing you did with c.

    For a and b, you do the same thing you did with c.
  11. Replies
    6
    Views
    1,473

    Your code to calculate the temperatures and to...

    Your code to calculate the temperatures and to receive input is ok, but the problem is that at the moment that you make the calculations, you don't change the variables that you use to display....
  12. Replies
    10
    Views
    11,094

    Tracking key release in Linux.

    I've been looking for how to find when a key is released, through C, in Linux, and from what I found, putting the keyboard in raw/keycode mode is the best way.
    However, I don't know what to do from...
Results 1 to 12 of 12