Need help with DEV C++

This is a discussion on Need help with DEV C++ within the C++ Programming forums, part of the General Programming Boards category; Before like 2 months I started learning C++ but had to stop, now I'm trying to restart learning, so I ...

  1. #1
    LBY
    LBY is offline
    Registered User
    Join Date
    Nov 2004
    Posts
    12

    Need help with DEV C++

    Before like 2 months I started learning C++ but had to stop, now I'm trying to restart learning, so I downloaded Dev C++ like the site said but when I try to run programs (yes I compile them first, I use the Compile and run button), in the error window it says:
    Line Message
    2 unable to run program file.

    and it can't be a problem in the code, all of them worked when I programmed them 2 months ago, and even if I take an example from the sites tutorial it dosen't work...

    Please help someone... thanks ahead

  2. #2
    LBY
    LBY is offline
    Registered User
    Join Date
    Nov 2004
    Posts
    12
    Never mind I solved the problem myself...

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    Can you write how - it'll help other people...
    [C++]
    IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    [C#]
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    [PHP]
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

  4. #4
    LBY
    LBY is offline
    Registered User
    Join Date
    Nov 2004
    Posts
    12
    Ahh ok, it was pretty exedently, I tried looking for the compiler options or stuff like that so I will look for the problem, so I went to tools --> Compiler options, chose the Directories tab, and then I tried looking the tabs there, I didn't really knew what it meant so I just prest OK but it told me that I didn't enter a Binary Directory (or something like that, don't remember) so I went to the Binaries tab and I saw it was empty, so I added a new directory to the binary tab, and chose in it the folder: "bin"... =\ and it worked

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Whats better, C-Free or Dev C++??
    By i_can_do_this in forum Tech Board
    Replies: 10
    Last Post: 07-07-2006, 05:34 AM
  2. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  4. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 08:47 PM
  5. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 10:40 PM

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