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
thanks.
This is a discussion on One error stopping me run program. within the C Programming forums, part of the General Programming Boards category; I think i sorted out a couple of bugs but can't get rid of one error,, the error will come ...
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
thanks.
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 :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi