fclose problems

This is a discussion on fclose problems within the C Programming forums, part of the General Programming Boards category; hello ppl.... first timer so forgive me for spelling mistakes or syntex problems I was working with I/O.. . and ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    4

    Unhappy fclose problems

    hello ppl....
    first timer so forgive me for spelling mistakes or syntex problems

    I was working with I/O.. . and forgot to close the file in the code..
    my teacher told me that if we do that the file stays open on the O/S.

    I am using win98 and wondered if there is a batch file that shows all those unclosed files so I would know how to get to it and to see if there is anyway I would be able to get rid of them without restarting????

    help is always appriciated

    thanks

  2. #2
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    if u forgot to use fclose(), the os will usually close up that file for you my book says...

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    4

    Wink thanks

    thats what i thought so too

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fclose slow
    By Rmantingh in forum C Programming
    Replies: 4
    Last Post: 04-08-2010, 12:01 PM
  2. problems with strcmp
    By loopymoo26 in forum C Programming
    Replies: 6
    Last Post: 05-13-2009, 03:10 AM
  3. fread problems or memory problems
    By Lechuza in forum C Programming
    Replies: 1
    Last Post: 03-22-2009, 01:45 PM
  4. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 03:59 AM
  5. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 05:48 PM

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