reading 2 .txt files help please

I'm just checking if i write it like this
inputFile.open(file1.txt, file2.txt);
or do i have to do it like this
inputFile.open(file1s.txt);
inputFile.open(file2.txt);
if they are both wrong how do i do it. Thanks for helping a noob.
[279 byte] By [cyke1] at [2007-11-20 11:44:04]
# 1 Re: reading 2 .txt files help please
Did you try to write complete code?
If not, try first and let us know what your problem is.
henky@nok.co.id at 2007-11-9 1:26:04 >
# 2 Re: reading 2 .txt files help please
if they are both wrong how do i do it. Thanks for helping a noob.Yes, they are both wrong. You need to declare two separate file handlers, thusinputFile1.open("file1s.txt");
inputFile2.open("file2.txt");
treuss at 2007-11-9 1:27:04 >