Quick Question

closed account (ENb7ko23)
Hello, I just wrote a program for extra credit in one of my classes. I have already printed out the source code using lp but my professor says he wants us to print an example of it running to prove it works(./a.out). Anyone have any idea how to do this. If I use lp ./a.out I end up getting a bunch of binary. Thanks for the help.
Try

./a.out > file.txt
lp file.txt
Topic archived. No new replies allowed.