Computer Science Canada Creation of some sort of document? |
Author: | tjmoore1993 [ Wed Apr 01, 2009 2:50 pm ] |
Post subject: | Creation of some sort of document? |
I have been reading books and reading guides on this forum but never have I seen a complete version of my answer so I must ask for some sort of link or brief instructions. I am trying to make a program that creates files instead of reading or writing. If it is possible a solution would be greatly appreciated ![]() EX: When a user enters in a name and information it makes them a file like "name.txt". |
Author: | DemonWasp [ Wed Apr 01, 2009 3:00 pm ] | ||
Post subject: | RE:Creation of some sort of document? | ||
Open a file for put access and then close it without putting anything. This creates the file, but leaves it empty. Looks like this:
|
Author: | tjmoore1993 [ Wed Apr 01, 2009 4:50 pm ] | ||
Post subject: | Re: RE:Creation of some sort of document? | ||
DemonWasp @ Wed Apr 01, 2009 3:00 pm wrote: Open a file for put access and then close it without putting anything. This creates the file, but leaves it empty. Looks like this:
THANKS :O |