I'm trying to create a file when i run my program. So say i want to create a file called hello.txt and put my output in it.
What code would i write so that it would create that file?
Thanks for any help,
...Dan
Printable View
I'm trying to create a file when i run my program. So say i want to create a file called hello.txt and put my output in it.
What code would i write so that it would create that file?
Thanks for any help,
...Dan
This should explain how to do what you want
Thanks I'll take a look at it