Thread: One error stopping me run program.

  1. #1
    Registered User
    Join Date
    Aug 2001

    One error stopping me run program.

    I think i sorted out a couple of bugs but can't get rid of one error,,
    the error will come up when compiled.
    Would appriciate if anyone can get this attatched program to run

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    I see you have added a couple of unneeded #defines....

    if you are using a compiler that doesn't support the bool type then add this to the code under the #includes and do away with those #defines....

    typedef int bool;
    const bool false=0;
    const bool true=1;

    then try recompiling..... it worked fine on visual c 6.... i wouldn't have given u a file of untested code.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :-

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  3. Re-doing a C program to run in Win2000 or XP
    By fifi in forum C Programming
    Replies: 5
    Last Post: 08-17-2007, 05:32 PM
  4. Replies: 3
    Last Post: 07-11-2005, 03:07 AM
  5. plz help me run this program!!!
    By galmca in forum C Programming
    Replies: 8
    Last Post: 02-01-2005, 01:00 PM