This is implements a simple program that outputs all the arguments given on the command line.
main is the function executed when the program starts. pub means it's a public function (and not an internal one).
print outputs the text to the standard output, not printer.
Splain yourself. What does pub fn main mean?
What What printer is it printing on?
Posted via D.Buzz
This is implements a simple program that outputs all the arguments given on the command line.
main is the function executed when the program starts. pub means it's a public function (and not an internal one).
print outputs the text to the standard output, not printer.
Posted via D.Buzz