Search:

Type: Posts; User: jon_nc17

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,650

    Serial & Interrupts

    Hi Everyone,

    I have a question... Some of you may have seen my other post on the DOS board, but this one is more general. I am trying to make a program that works on a DOS touch screen computer. ...
  2. Replies
    0
    Views
    6,451

    DOS, Serial, and Touch Screen

    Hi Everyone,

    I have a question. I've been working on a program in DOS for a small touchscreen computer that goes in my house. The touchscreen input on internally attached to COM3 (0x2E8h I think...
  3. Replies
    2
    Views
    1,442

    It works, thank you! Geeze, I would have never...

    It works, thank you! Geeze, I would have never guessed that was not allowed... Anyway, thank you -- good learning experience for me!
  4. Replies
    2
    Views
    1,442

    Hmm... Anything wrong with this?

    I use the function below for logging in my program. All it does is write the line I input into an array, and shift the oldest line out. I thought it was working fine, but this morning I wrote some...
  5. Replies
    1
    Views
    2,010

    Is there anything wrong with doing this?

    I am trying to output a structure with 256 (0 - 255) records to a file. Then, load them when needed. I am telling fread to read to and write from one large structure, and I'm assuming that they...
  6. Thread: Bits & Bytes

    by jon_nc17
    Replies
    5
    Views
    2,478

    Ah, thank you, I think I got it: unsigned...

    Ah, thank you, I think I got it:



    unsigned char data, house, device, result;

    data = 197;
    house = data >> 4; // shift right 4 bits, house now holds a 12
    device = data & 0x0f; // mask out...
  7. Thread: Bits & Bytes

    by jon_nc17
    Replies
    5
    Views
    2,478

    Thank you!

    Thank you! That was exactly what I was looking for. I never would have thought it would be so easy though. One more question, If I were to send back out the byte, how would it be done if I just...
  8. Thread: Bits & Bytes

    by jon_nc17
    Replies
    5
    Views
    2,478

    Bits & Bytes

    Hi guys,

    I have a problem that I can't figure out, and I was wondering if someone can help me with it. I've been working on creating a home automation program to control my own X10 interface...
  9. Also, feel free to email me at...

    Also, feel free to email me at [email protected].
  10. One step closer

    Well, I'm one step closer... I put the extern "C" { } around the include files for the library...

    Heres what I have now:

    After I did that, the program atleast compiled. Of couse it closes do...
  11. Borland C++ 3.1 -- Using WATTCP library... Undefined symbol error... Please help =)

    Hi Everyone,

    Its been a while since I've been on here! Anyway, I've been working on a program for my Home Automation system using (the very old) Borland C++ 3.1 with Turbo Vision for the text...
  12. Replies
    3
    Views
    1,142

    lol.... I have no clue how to do that

    lol, well, thanks for the advice but I have no clue how to go about that... I'm not new to the programming scene, but to c++ I am ! lol, is there a example you could show me?

    Thanks for you help!...
  13. Replies
    3
    Views
    1,142

    sigh... why dosent this work?

    After trying for 20 minutes with every possible way I could think of, I have come to seek expert advice lol....

    What I'm trying to do with the code below is have a array of 100 strings...
  14. Replies
    2
    Views
    1,082

    How to convert int to string?

    Is there a way to get a int into a string, so I can use it as a string? I tried typecasting... lol that didint work, any ideas?

    Thanks!
  15. Replies
    1
    Views
    2,867

    Text based GUI?

    Hi All,

    Is there any such thing as a text based GUI for c++? I've looked at turbo vision, but that seems to only work in Borlands C++ v3.1... is there anything else out there? I'm looking to...
Results 1 to 15 of 16