error in executable file!

This is a discussion on error in executable file! within the C Programming forums, part of the General Programming Boards category; i got a exectuable file from my friend and it does not work in my pc .. it shows a ...

  1. #1
    Registered User
    Join Date
    Sep 2012

    error in executable file!

    i got a exectuable file from my friend and it does not work in my pc ..
    it shows a error as follows

    how do i correct the error?

  2. #2
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    You get him to initialise the graphics properly using initgraph.

    If he made the program, only he can change it.

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

  3. #3
    Registered User
    Join Date
    May 2010
    Actually he will either need to provide you with the Borland Graphics Interface (BGI) files or statically compile these libraries into the executable.


  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Portland, OR
    I see your friend is writing code for ENIAC...
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Executable file not working
    By jdmarsh2005 in forum C Programming
    Replies: 4
    Last Post: 03-27-2009, 03:04 PM
  2. Executable file
    By Mak in forum Linux Programming
    Replies: 2
    Last Post: 03-27-2004, 03:16 AM
  3. Executable File
    By Drew in forum C++ Programming
    Replies: 5
    Last Post: 08-29-2003, 07:08 PM
  4. EXEcutable file
    By planet_abhi in forum C Programming
    Replies: 2
    Last Post: 11-06-2002, 03:50 PM
  5. error in executable
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-06-2002, 09:52 PM

Tags for this Thread

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