Computer Science Canada

How to put data into a file?

Author:  m84uily [ Wed Mar 11, 2009 3:56 am ]
Post subject:  How to put data into a file?

Not entirely sure how to elaborate on the title.

example:


code:

var number: int
put "enter number"
get number



After which I would like to put the variable number into A.txt

I know there are examples of how to do this on the site, I just forget what I searched before to find them. A nudge in the right direction would be great.

Author:  DemonWasp [ Wed Mar 11, 2009 8:15 am ]
Post subject:  RE:How to put data into a file?

Behold The Turing Walkthrough. Specifically, you want File I/O.

Author:  m84uily [ Wed Mar 11, 2009 11:54 am ]
Post subject:  Re: How to put data into a file?

Thank you! DemonWasp.


: