Discussion:
A3Q3 regress doesn't match
(too old to reply)
Jay Q
2011-06-17 09:57:39 UTC
Permalink
After comparing my program with the sample executable,
I got the following feedback:
------------------------------
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
----------------------------------

What could be the difference?
Ashif Harji
2011-06-17 16:25:32 UTC
Permalink
The names of the two executables are different and the usage message
prints the actual executable name in the message it prints. As your
executable is named "spellcheck" and the reference executable is named
"spellcheck_64" there is a difference in the output.

ashif
Post by Jay Q
After comparing my program with the sample executable,
------------------------------
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
----------------------------------
What could be the difference?
Jay Q
2011-06-17 17:09:13 UTC
Permalink
Post by Ashif Harji
The names of the two executables are different and the usage message
prints the actual executable name in the message it prints.  As your
executable is named "spellcheck" and the reference executable is named
"spellcheck_64" there is a difference in the output.
ashif
Post by Jay Q
After comparing my program with the sample executable,
------------------------------
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
1c1
< Usage: ./spellcheck dictionary input-file
---
Usage: ./spellcheck_64 dictionary input-file
----------------------------------
What could be the difference?
But it's not a problem for ./include
So I assume that there is a difference at line 1 column 1
my output is " <" and sample output is ">"
but I still don't know what cause that problem.

Continue reading on narkive:
Loading...