Hi Guys,
I'm trying to read in a file, use a string tokenizer and then store the useful tokens into an array. I'm reading my file in line by line as i later need to compare the values on one line with the values on another line. So i'm trying to store each line as a new row within my array. But the problem i'm facing is that i have a record id (identifying the line number) which is an int but my tokens are strings. Is there a way that i can have an array of mixed types? i.e id, username, printer number, document name, pages printed.
Any suggestions?
Elle
I'm trying to read in a file, use a string tokenizer and then store the useful tokens into an array. I'm reading my file in line by line as i later need to compare the values on one line with the values on another line. So i'm trying to store each line as a new row within my array. But the problem i'm facing is that i have a record id (identifying the line number) which is an int but my tokens are strings. Is there a way that i can have an array of mixed types? i.e id, username, printer number, document name, pages printed.
Any suggestions?
Elle