Hot answers tagged

1 vote
Accepted

next step after I made sort and search to make find work as mentionned in homework

You do not have to (even are not allowed to) change find and generate. Most probably, in you sort function you do something wrong with haystack. Run debug50 with ./ find 42; 50, 43 and look at your ...
user avatar
  • 1,139
1 vote
Accepted

bubble sort and linear search

Is bubble sort working? Is linear search working? These are two different questions. I'll skip the sort for now, since the linear search is the immediate problem. (Besides, you can test the sort ...
user avatar
  • 63.1k

Only top scored, non community-wiki answers of a minimum length are eligible