Alright, so, I'm not quite sure what's going wrong here, but maybe you people could help. My implementation of linear search in pset3 will return false no matter what (well, specifically I've only tried it with ./generate 1000 50 | ./find 2008, but that is supposed to work. Am I maybe misinterpreting the arguments? Or is it something else? My code is as follows: http://www.writeurl.com/text/4qi3n71a8qwr8uj8h011/yddox7ifxp9l5c27g52w If that doesn't work, sorry.


Turns out that I just needed to re-compile find.c. So, I guess if your code should work in theory and syntax is correct, recompile what your working on and see if that works.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .