Thread: Problems using Dev-C++

  1. #1
    Registered User
    Join Date
    Dec 2002

    Problems using Dev-C++

    I've been looking for an alternative to MS VC++ 6.0, so I was trying to use Dev-C++. I had an older version, so I (stupidly) decided to upgrade...I can't get this version ( to come close to compiling my project. I get 501 errors, most of which are in the standard files that are being #include'd. Many of the errors look like this:

    D:/DEV-CPP/include/c++/bits/char_traits.h:59: parse error before `;' token
    Without looking at all 501 errors, it appears that the vast majority of them are in these standard files (and by "standard" I mean "supplied with the compiler, not my own"). Does anybody have any idea why this would be? Is this a known problem (I couldn't find it on the Dev-C++ help site) or does it result from some mis-checked option somewhere???? Any other ideas?

  2. #2
    I'm sorry, I can't help you, but if you go to the bloodshed forum, and read and read and read the posts, there's been alot of discussion about this problem. I have, and the day that was release it seemed to wreak all sorts of havoc. I think the problem is when downloaded, the header files don't go into the correct folder. There is alot of information on the bloodshed forum, but you have to sift through alot of other stuff. Good luck.

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Visalia, CA, USA
    That is probably because it uses mingw 3.2 which is up to the current C++ standard. Since I don't want to go into detail now just add the following line after your includes:

    using namespace std;
    Also remember to include the C++ standard headers:

    #include <iostream> // good!
    #include <iostream.h> // depricated!
    If you are still having troubles then tell me what else is wrong.

  4. #4
    Registered User
    Join Date
    Dec 2002
    I have been #include'ing like <iostream>, not with the .h. I will try as soon as I can to try using namespace std, but up to this point I have just been "using" what I needed (e.g. using std::cout, using std:stream). I'll let you know how that works......Thanks for the help.

  5. #5
    Registered User
    Join Date
    Jun 2002


    Nope, even with the using namespace std line, I can't get it to work too. I'll go take a look on Dev's forums, thanks. (Or maybe simply get back to good ol' 4.6.9).

    EDIT : Well, here it is :
    The last message did the trick to me.
    Last edited by WarBaboon; 12-18-2002 at 10:10 AM.
    Using Dev-C++ beta under Win XP Pro. That or g++ on Mandrake Linux 9.0 .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  2. Programming With Dev C++
    By v01d in forum C++ Programming
    Replies: 3
    Last Post: 09-14-2007, 01:51 AM
  3. C Pointers Problems
    By mhelal in forum C Programming
    Replies: 8
    Last Post: 01-10-2007, 06:35 AM
  4. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 05:48 PM
  5. Dev and errors
    By Moffesto in forum C++ Programming
    Replies: 0
    Last Post: 06-22-2002, 12:17 AM