Thread: fprintf()

  1. #16
    Registered User
    Join Date
    May 2004
    Posts
    215
    Thanks for explaining the whole fgets thing. Ive posted up the console code right after line 00210: thats where it does the do_commands(stdin).

    and on line 00230: the do_commands function is defined.

    heres the link...

    http://sourcepost.sytes.net/sourcevi...ource_id=14882

  2. #17
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    do_commands() just reads in data and processes it from stdin. It does not write to stdin. Why can't you just pass it stdin?

  3. #18
    Registered User
    Join Date
    May 2004
    Posts
    215
    I was trying to do that, i justput do_commands(stdin), but it didnt do anything at all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with basic program
    By JOlszewski in forum C Programming
    Replies: 3
    Last Post: 02-01-2006, 04:19 PM
  2. program not working...please look at this
    By JOlszewski in forum C Programming
    Replies: 3
    Last Post: 01-30-2006, 10:33 PM
  3. sprintf and fprintf segmentation error
    By kona1 in forum C Programming
    Replies: 5
    Last Post: 06-21-2005, 10:55 AM
  4. fprintf to stderr crash programs
    By jlai in forum Windows Programming
    Replies: 2
    Last Post: 04-12-2005, 08:51 AM
  5. fprintf
    By bennyandthejets in forum Windows Programming
    Replies: 10
    Last Post: 11-16-2002, 06:58 PM