Swap and Compare functions


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by TCuda on August 02, 1999 at 02:13:43:

In the project specification it says we must make functions to make comparisons and swaps. I wrote a swap function, but I used a counter to be incremented before comparisons. Is this OK?

Also, should we only count comparisons between two variables in the array?

TCuda


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]