Disappearing Headers...

This is a discussion on Disappearing Headers... within the C++ Programming forums, part of the General Programming Boards category; I was doing some work today, and when I tried to compile the header files iostream and string were just ...

  1. #1
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227

    Angry Disappearing Headers...

    I was doing some work today, and when I tried to compile the header files iostream and string were just missing. I was compiling not 10 seconds before and it was working fine. Wtf is going on?
    Keyboard Not Found! Press any key to continue. . .

  2. #2
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Ive had files on my pc magically disapear before too. Its very odd as what ever it is doing this seems to target a certain area and delete files with a certain extension.
    What is C++?

  3. #3
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    Hmmm...kind of scary actually
    Do you know where I could download those headers again?
    Keyboard Not Found! Press any key to continue. . .

  4. #4
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I cant of anything this side of reinstalling your compiler.
    What is C++?

  5. #5
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    well that kind of blows
    Keyboard Not Found! Press any key to continue. . .

  6. #6
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well, I'm pretty sure that even though (for example) iostream is a standard C++ header. There could be varrying differences between compilers.

    What compiler are you using?
    What is C++?

  7. #7
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    Dev cpp
    Keyboard Not Found! Press any key to continue. . .

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well I suppose, I could simply email you the devcpp headers.... I suppose that would work.

    PM me and give me your email and what headers you need.
    What is C++?

  9. #9
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Did you do a search on your computer to verify the header files were missing, or did the compiler just give you an error saying it couldnt find the header files? It could just be a path setting in your compiler that is out of wack.

  10. #10
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    I did and they are not there.
    Keyboard Not Found! Press any key to continue. . .

  11. #11
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Emailing the headers may not work if the library is also missing, but it's worth a shot. If you're using Dev-C++, easy enough to just re-install the compiler, don't you think?

  12. #12
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    It's more of what the hell is going on, but yea your right, it probably would be easier just to reinstall.
    Keyboard Not Found! Press any key to continue. . .

  13. #13
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    I hope all your project code is well away from c:\devc++ or wherever you've installed the compiler.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  14. #14
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    Okay, this is just getting annoying now. The iostream file is in the include folder C:\Dev-Cpp\include. It still says its not there.


    EDIT
    Ok now the iostream is working but like half of the functions in conio.c dont work.
    Last edited by DeepFyre; 09-11-2004 at 12:32 PM.
    Keyboard Not Found! Press any key to continue. . .

  15. #15
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    but like half of the functions in conio.c
    Thats because its MinGW compiler and not a borland.

    Thats the ONLY thing I ever suggest using borland for, is the conio functions and the BGI stuff.
    What is C++?

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM
  2. Headers that use each other
    By nickname_changed in forum C++ Programming
    Replies: 7
    Last Post: 10-03-2003, 04:25 AM
  3. Help with headers (conio.h etc)
    By ofthedove in forum C++ Programming
    Replies: 2
    Last Post: 02-24-2003, 01:44 PM
  4. Precompiled Headers, are they necessary?
    By XenoCodex Admin in forum C++ Programming
    Replies: 2
    Last Post: 06-23-2002, 02:09 PM

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