Controlling the parallel port in C++

This is a discussion on Controlling the parallel port in C++ within the C++ Programming forums, part of the General Programming Boards category; Hi, I was wondering how would you go about directly controlling the parallel port in windows. I have no idea ...

  1. #1
    Monkey_Drone
    Guest

    Question Controlling the parallel port in C++

    Hi,
    I was wondering how would you go about directly controlling the parallel port in windows.
    I have no idea of where to start

    I need to be able to write a byte to the port to control a robot

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    use fstream, open the port instead of a text file, and then use the stream writing commands.

  3. #3
    Monkey_Drone
    Guest
    Cool, thx

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    No problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parallel Port IO ops not working properly
    By microtechno in forum Linux Programming
    Replies: 16
    Last Post: 06-08-2009, 12:33 PM
  2. Parallel Port to USB controller and outb()
    By coletek in forum Linux Programming
    Replies: 1
    Last Post: 06-05-2009, 06:57 AM
  3. Replies: 3
    Last Post: 02-29-2008, 12:29 PM
  4. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  5. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21