- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
the various search algorithms are described on wikipedia (search for "sort algorithms") and elsewhere on t'internet. have a look on there and you should be able to implement one in C
one way to do this would be to use a coordinate system to store the current position (ie x,y) and then calculate the distance from that position to the starting position using trigonometry. your random direction routine would need to then handle 4 states: up (y + 1), down (y …
If you check out [URL="http://msdn.microsoft.com/en-us/library/ms187787.aspx"]http://msdn.microsoft.com/en-us/library/ms187787.aspx[/URL] you'll see in the <simple-term> definition, the CONTAINS predicate ignores punctuation: [QUOTE]Punctuation is ignored. Therefore, CONTAINS(testing, "computer failure") matches a row with the value, "Where is my computer? Failure to find it would be expensive."[/QUOTE]
The End.
thecheesewheel