Thread: Problem with dev-c++

  1. #16
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    No <iostream.h> is out of date <iostream> is part of the new standard because all the standard functions are now in the std namespace
    Woop?

  2. #17
    Registered User
    Join Date
    Aug 2004
    Posts
    193
    Quote Originally Posted by prog-bman
    No <iostream.h> is out of date <iostream> is part of the new standard because all the standard functions are now in the std namespace
    Thanks for the info, but when I use <iostream>, it says that "cout" is undefined. Also is <iostream> the only one without a ".h" at the end because I tried <stdlib> and it didn't work.

  3. #18
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    try std::cout instead of just cout
    all the C header files can be accessed by taking the .h off and putting c infront of the name

    <cstdio>
    <cstdlib>
    <cmath>
    etc

    The c++ headers you just drop the .h

  4. #19
    Registered User
    Join Date
    Aug 2004
    Posts
    193
    Quote Originally Posted by Thantos
    try std::cout instead of just cout
    all the C header files can be accessed by taking the .h off and putting c infront of the name

    <cstdio>
    <cstdlib>
    <cmath>
    etc

    The c++ headers you just drop the .h
    Thanks for the info. Adding std:: works. Adding "c" infront and dropping the .h also works. Thank you very much.

  5. #20
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Do I need to show you a icture of the error. And it is installed in the directory it wanted to be I never install something in my documents becuase I barly use that.

  6. #21
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Here is a link to the picture... http://runehunter.clicdev.com/f/index.php?act=ST&f=25&t=79

    Now I know I put text in the code but that didn't amtter snce I only added that to tell you were the error is.

    I tried putting everything as code, from nothing to a complete working code I even tried a c program!

  7. #22
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Rune hunter, if your having problems compiling still. Your solution is pretty simple. uninstall it properly. Follow the instructions to the letter. your situation is a common one,not a big deal.

    Here is another link to do the same thing in more detail , once you've FOLLOWED EVERYTHING TO THE LETTER and successfully uninstalled. Install 4.0 first then use the updater in TOOLS > Check for updates / packages to update to a more current version.
    Its really very simple.
    Last edited by caroundw5h; 08-27-2004 at 11:42 AM.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  8. #23
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    simple to say. I un-installed it maybe ooh 10 - 15 times already. I tried EVERYTHING! and EVERYTHING means EVERYTHING. But the update from 4.0 not a bad idea exept for the fact that I'm on a 56k modem with family that wants to use the phone alot!

    I think I might need windows XP Service Pack 1. (We reformated so we still need that) and then we get SP2.

  9. #24
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Ok That link to the other post did help me. I didn't know I had to delete the .ini and .cfg files in anouther directery. You learn something ever week.

    But thanks every one for all yoru HELP!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  2. Replies: 5
    Last Post: 11-07-2005, 11:34 PM
  3. Problem running prog I wrote in Dev C++
    By KidMan in forum C Programming
    Replies: 8
    Last Post: 09-22-2005, 01:50 AM
  4. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  5. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM