Thread: Problem executing sample program:

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    4

    Question Problem executing sample program:

    I have installed the Devcpp version 4 and version 401 update as

    instructed. I ran the sample program indicated on the main page

    of "How do I use A Compiler". Upon executing and run the sample

    program, I received error messages indicating that Icon file not

    found (please change it in Project Options). The question is

    where do I change this under project options tab? Version 4.


    Also similar error was received while I ran the updated version

    Devcpp401. The error is C:\Dev_C~1\Bin\Windres: can't open file

    icon file 'C:\devcpp401\Icon\Mainicon.ico:Invalid arument.

    Please help: mrabiu

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    536
    I just downloaded and installed Dev-Cpp the other day, and it says that it is Version 4.9.8.0 (don't know if it is different from yours).

    Well, after installation, I clicked

    File --> Open Project or File.

    Then I used the resulting dialog box to navigate to Dev-CPP\Examples\Hello.

    There was a file named "Hello.dev"

    I selected that, and it compiled and executed OK.

    Have you done anything like this?

    Start with the simplest example, to validate your installation, then get to the "good stuff".

    Good Luck!


    Dave

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    4

    Arrow

    Hi Dave,
    Kindly send me the version your are reffering to, I did not have that perticular one. Or send me the link to that address, I will continue to look.

    Thanks
    mrabiu

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    18
    Remember when you update Dev C++ to uninstall it completely. If not, you'll have major effing problems.

    http://prdownloads.sourceforge.net/d...devcpp4980.exe

    That's the download.



    On uninstalling completely:

    http://www14.brinkster.com/aditsu/de...html#uninstall

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    4
    Hi CSmith,

    I have downloaded version 4980 and installed it. I was using an
    older version which was not compatible with my OS.
    Thanks for the information.

    mrabiu

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-25-2008, 12:31 AM
  2. Executing a Program With Arguments
    By HalNineThousand in forum Linux Programming
    Replies: 4
    Last Post: 04-14-2008, 10:09 AM
  3. I have finished my program, one problem
    By sloopy in forum C Programming
    Replies: 4
    Last Post: 11-29-2005, 02:10 AM
  4. Program problem
    By Birdhaus in forum C++ Programming
    Replies: 6
    Last Post: 11-21-2005, 10:37 PM
  5. executing program....
    By Turek in forum Windows Programming
    Replies: 6
    Last Post: 08-01-2002, 02:13 PM