HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by rgawdzik | Hacker News Reader
Full thread
rgawdzik
·
How do you use SampleMultiplication?
View on HN
yedhukrishnan
·
You can simply call the program with that file name as a commandline argument.
rgawdzik
·
Right, but what sort of operations can you perform? Can you give me an example of how you would do 2*2?
yedhukrishnan
·
Yeah! ./turingmachine SampleMultiplication 11011 You will get output 11110. If you want to multiply 3 & 2, give 111011. You will get 111111.
Reply on news.ycombinator.com