Thread: What the hell is going on?

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    87

    What the hell is going on?

    I know the subject isn't very useful, but its all I could think of...

    My problem is that if I try to open/close a file within a loop or if...else it doesn't work. It won't close a file which has been opened in the main program if the fin.close(); is in a sub routine.

    Does anyone know why or a way to get around this. I'm using Dev-C++
    **********************
    *==================*
    * Many Can. One Must... *
    *==================*
    **********************

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    post the code segment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What the hell!? Crashes and memory leaks?
    By pobri19 in forum C++ Programming
    Replies: 3
    Last Post: 09-26-2008, 05:45 AM
  2. operator from hell
    By algi in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 12-24-2004, 07:36 AM
  3. DLL Hell
    By Sentaku senshi in forum Windows Programming
    Replies: 9
    Last Post: 11-21-2002, 08:06 AM
  4. Living in the 00'S
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-21-2002, 09:31 AM
  5. Heaven, Hell, and Aetheists/Non-believers
    By Aran in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 09-10-2001, 02:18 PM