Newbie, Q about files
Newbie, Q about files
- Subject: Newbie, Q about files
- From: email@hidden (Henri Hansen)
- Date: Tue, 06 Nov 2001 15:30:39 +0100
Hi everybody
Somehow I'm a bit stuck in all this Cocoa stuff. I'm comming
from the RealBasic world and some tasks seem to be much more
easy over there.
In order to get a start with Cocoa I tried to port some smal
utilities to evaluate log-files from RealBasic to Cocoa.
The problem I have is not to select the file to analyze, but
how to habdle the file afterwards. Because the file might be
much larger than 100MB I'd like to read the file in line by
line. This is quite easy in RealBasic where you create a
TextStream and then you can read the file line by line, but
I have no idea how to do this Cocoa. The same problem ocures,
for the output of my analyzer Programs, because I need to write
different informations to different files. Again, this is no
problem in RB, you only have to create the different files
(whithout asking the user) and then I can write my output
line by line to these files.
Thanks for your help.
greetings
Henri
--