Dev-C++. Where did you it download from?

This is a discussion on Dev-C++. Where did you it download from? within the C++ Programming forums, part of the General Programming Boards category; I mannage to download Dev-C++,... I could compile codes and run the programme. But I just realised that It isn't ...

  1. #1
    Registered User [Z-D]'s Avatar
    Join Date
    Oct 2006
    Posts
    37

    Dev-C++. Where did you it download from?

    I mannage to download Dev-C++,... I could compile codes and run the programme. But I just realised that It isn't working properly... Codes which work perfectly in Microsoft Visual C++ 6.0 back in my University doesn't work properly here.

    When the output is suppose to come out, the black screen automatically closes... Why is this?... I would assume that I didn't install properly or the right one. And this happens for every code.

    I tried installing it from here: http://sourceforge.net/project/showf...ease_id=307174
    then realised the problem and uninstalled and reinstalled from here: http://prdownloads.sourceforge.net/d....9.2_setup.exe

    Where did I go wrong?

  2. #2
    CSharpener vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,471
    The first 90% of a project takes 90% of the time,
    the last 10% takes the other 90% of the time.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    55
    I don't think that the Dev C++ Compiler automatically adds this line when you start a new source file:

    Code:
    system ("Pause") ;
    Therefore add it, it should stop the DOS window from closing automatically, allowing you to see any output.

  4. #4
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    You should look up Code::Blocks nightly versions, they surpass Dev C++ in many areas

  5. #5
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Also realize that VC++ has nonstandard features that you might have used.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    903
    Especially VC++ 6.0. VC 2003 is pretty standard compliant but I'm told VC 6 is just god awful.

  7. #7
    Registered User
    Join Date
    Jul 2005
    Posts
    25
    You should try downloading Visual C++ Express with Platform SDK. It's free, powerful and really pretty.
    As for your problem... try running the program from a command shell. Or add a scanf() at the end, so that it will wait for your input before closing. Or right-click the executable file and uncheck the 'Close on exit' checkbox.

  8. #8
    Registered User [Z-D]'s Avatar
    Join Date
    Oct 2006
    Posts
    37
    Quote Originally Posted by vart
    Now I have, thanks.... But, what does this mean?
    Run your program from the command line rather than the IDE (not exactly what most people want).

  9. #9
    CSharpener vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,471
    Start/Run...

    cmd

    cd "<enter the loacation of your program>"
    <enter program name>.exe
    The first 90% of a project takes 90% of the time,
    the last 10% takes the other 90% of the time.

  10. #10
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    I used to use the command line when I used the old acient Borland 5.0 compiler. I hated it so much, IDE's do make life much simpler. But then again, when I used to code in BASIC before MS glorified it, I used to love commands like:

    Code:
    10 print"HELLO WHAT IS YOUR NAME? "
    20 INPUT A$
    30 IF A$ = "LEON" GOTO 40 ELSE GOTO 50
    40 print"HELLO A$" GOTO 50 
    50ENDPROC
    60 RUN
    sigh == "those were the days... all simple and easy.
    I'm just trying to be a better person - My Name Is Earl

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reverse Engineering on a Download file
    By c_geek in forum C Programming
    Replies: 1
    Last Post: 03-22-2008, 03:15 PM
  2. Replies: 4
    Last Post: 09-30-2005, 02:51 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

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