in reply to Re^2: A mod2 Machine.
in thread A mod2 Machine.

Correct, if you have the number as a string already, you do not need to convert the number to a string.

You do not need to copy the string though, you could get the last character directly from argv[1] in your example.


Comment on Re^3: A mod2 Machine.
Download Code