Search:

Type: Posts; User: samuraijack

Search: Search took 0.01 seconds.

  1. Thread: Pointers?!

    by samuraijack
    Replies
    1
    Views
    776

    Pointers?!

    I have a function inside an object that I want to pass in an array to. I then want to modify it and pass it back. I assume the only way to do this is to use pointers to an array.

    How do i...
  2. Replies
    1
    Views
    990

    Enhanced Mode

    Does any body know how to change the mode of the parallel port to enhanced mode so I can read the data back through the data lines.

    I am using microsoft visual c++ but progamming in C.
  3. Replies
    3
    Views
    1,098

    I have been looking into this one and have found...

    I have been looking into this one and have found out that because I am using Windows NT 4 I can not just use the windows drivers and must make my own with windows DDK.

    Before I begin does anybody...
  4. Replies
    3
    Views
    1,098

    I do have a main function, I just didn't think...

    I do have a main function, I just didn't think that I needed to put that in aswel.

    #include <conio.h>
    #define data 0x378

    int main(void)
    {
    scanf("%i",&bits);
    _outp(data,bits);
    }
  5. Replies
    3
    Views
    1,098

    Output to parallel port

    I am trying to write a number to the parallel port data lines and when I use the following code, my program crashes.

    #include <conio.h>
    #define data 0x378

    scanf("%i",&bits);
    _outp(data,bits);...
  6. Replies
    11
    Views
    2,670

    Chill man! There is no need to go ape. Ok so I...

    Chill man! There is no need to go ape.

    Ok so I didn't try all of them, big deal. It got sorted in the end.

    Option 2. Well in my original message, I said, "and return the cursor to the top of...
  7. Replies
    1
    Views
    878

    This is a windows question, but I am running it...

    This is a windows question, but I am running it in a console(ie MS-DOS).

    I am using Microsoft Visual C 6.0
  8. Replies
    11
    Views
    2,670

    Thanks Mate.

    Thanks Mate.
  9. Replies
    1
    Views
    878

    Port access

    How do I access the parallel port and send data to and from it?

    I am using Microsoft Visual C.
  10. Replies
    11
    Views
    2,670

    I tried that but it still doesn't work Any...

    I tried that but it still doesn't work

    Any other suggestions?
  11. Replies
    11
    Views
    2,670

    Clearing the screen

    Is the a function in Microsoft Visual C to clear the screen and return the cursor to the top of the screen?

    I used to use Borland and there was a pre-defined function.
  12. Replies
    3
    Views
    1,669

    Thanks mate. That works.

    Thanks mate.

    That works.
  13. Replies
    3
    Views
    1,669

    Thanks for that, but it says that an unresolved...

    Thanks for that, but it says that an unresolved external has occured.

    Do I need an extra header file?

    I'm already using time.h
  14. Replies
    3
    Views
    1,669

    Timing in C

    Please somebody help me.

    I'm trying to use a timer function in Microsoft Visual C but don't know where to start or where to go.

    I want the program to paused for 2 seconds before...
Results 1 to 14 of 14