Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating data txt files

Status
Not open for further replies.

ryDen

Programmer
Jun 6, 2002
71
AP
Hi there!

I am currently writing a program to generate input data txt files for another program that will convert it to tables.

The contents of the file will look something like this:

A B C
aaa 1 2
bbb 2 1

where the first line contains the labels and the rest of the lines are the records, and each value is separated by tab("/t")

I would like to find out which methods I should use for writing text files, and also how to go about generating random string variables, e.g., the C attribute above is a string.

Thanks =P

Russ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top