Thanks for that Russ.
I want to actually program that behaviour into the program.
I'm not trying to debug or anything.
I want to be able to go through the algorithm line-by-line by pressing a key. The algorithm is just one part of the program. The main part is that the algorithm is displayed...
Thanks for the help MWB. I found out that the problem was due to me declaring "int j" as a global varaible when it needed to be declared as a local one.
My new problem is that i've implmented the above algorithm in C and have Mesa displaying it graphically on screen and then by...
Hi,
I'm trying to implement a version of the travelling salesman problem in c using the follwoing algorithm:
********************************************************
salesman (u)
begin
if every node is now visited
then
begin
put (u,start) in the circuit
print the circuit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.