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...
Type: Posts; User: Cynary
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...
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...
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...
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.
...
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...
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...
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,...
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.
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...
For a and b, you do the same thing you did with c.
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....
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...