We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wonder what is the .mpc code that can print into a file. Take tutorial.md for example:
**a = cint(2) b = cint(10)
c = a + b print_ln('Result is %s', c)**
Instead of printing 'Result is c' on the terminal, how to save that to a textfile?
The text was updated successfully, but these errors were encountered:
The only way of achieving this is through redirection, for example: ./mascot-party.x 0 tutorial > <filename>
./mascot-party.x 0 tutorial > <filename>
Sorry, something went wrong.
No branches or pull requests
I wonder what is the .mpc code that can print into a file. Take tutorial.md for example:
**a = cint(2)
b = cint(10)
c = a + b
print_ln('Result is %s', c)**
Instead of printing 'Result is c' on the terminal, how to save that to a textfile?
The text was updated successfully, but these errors were encountered: