void Foo() {
// process
return;
}
// replace
if (somevalue == true)
// with
if (somevalue);
if (val1 == val2) {
return true;
} else {
return false;
}
return val1==val2;
~dbennett/230/hw2/doit ./YourProgramName
[dbennett@cslab100 tmp]$ ~dbennett/230/hw2/doit ./palindrome
Running with the example file
continue
Running with a bad file file
continue
Running with edge case
continue
Running with biglist
continue
Running with weird