I see, thanks!
And, I was just copying and pasting from an example off of the Internet for the
, so I didn't really know what it did. Thanks for clarifying that.
How would I pass
to the compiler? Through the command line, or in the program itself? (I don't have an IDE, so I have to use the command line for basically everything).
I tried your suggestion, I tried Safari and Google Chrome, BUT...
// my default browser is Safari
// I also tried google chrome
Neither of those worked.
Any other ideas?
What do you know?
After my first edit, I got to thinking, well, all its doing is opening the file, right? So, I tried using "open" like so:
And what do you know, it worked!
@dutch, @Ganado, @Handy Andy, thanks guys!
If you want to run it for yourselves, copy and paste
into line 91 of my original code, and then copy and paste
into line 98 of the original code. Actually, I'm kind of curious to see if my edit will work on Windows or Linux.