Thread: Error in code - please help

  1. #16
    Registered User Paderi's Avatar
    Join Date
    Apr 2020
    Posts
    68
    I looked around the Net extensively. There are an incredible amount of posts on the issue. But zero solution. It makes you think Microsoft wants it that way.

  2. #17
    Registered User
    Join Date
    Dec 2017
    Posts
    1,626
    It's more likely that you're just too dumb to figure it out. You can't even follow my instructions and post the output I asked for.
    A little inaccuracy saves tons of explanation. - H.H. Munro

  3. #18
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Well this is how I set up a DOS printer.

    First make your printer shareable from your local machine.
    Error in code - please help-printer-share-png

    Then you can 'net use' it using your local machine name.
    Error in code - please help-printer-use-png

    You can make it persistent if you want.

    If the PRINT command works for you, then fopen("LPT1:") should also work for you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #19
    Registered User Paderi's Avatar
    Join Date
    Apr 2020
    Posts
    68
    Ok. Have done.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code Blocks showing error in code! Don't know what's it.
    By kdushyant297 in forum C Programming
    Replies: 2
    Last Post: 09-08-2017, 09:59 AM
  2. code error
    By nadji in forum C Programming
    Replies: 4
    Last Post: 06-25-2012, 10:03 AM
  3. Is there an off-by-one error in this example code?
    By edw211 in forum C Programming
    Replies: 3
    Last Post: 06-14-2011, 07:21 PM
  4. Help with VC++ 6.0 (or my code) error
    By theodoreius2000 in forum Game Programming
    Replies: 7
    Last Post: 07-13-2004, 09:48 PM
  5. Need help w/code error
    By LouB in forum C++ Programming
    Replies: 4
    Last Post: 10-12-2003, 06:23 PM

Tags for this Thread