|
-
February 23rd, 2010, 06:09 PM
#1
Streams vs Strings - Windows Form app
Hi all,
I'm working on a Windows Forms application that basically needs to do multiple reads from a large text file and display certain values. I'm unsure what's best to use, strings - or streams. I have an openFileDialog reading the text into a rich text control using streams... but I'm much more used to the text searching functions that strings provide (find, length, substr etc), any advice for this kind of project would be welcome 
Thanks,
Payne747
-
February 23rd, 2010, 06:12 PM
#2
Re: Streams vs Strings - Windows Form app
What do you mean by "Windows Forms Application"?
Are you writing the code in managed C++ or are you referring to a "Windows Dialog App"?
-
February 25th, 2010, 06:22 AM
#3
Re: Streams vs Strings - Windows Form app
It will be .NET (so I guess very managed) :P
-
February 25th, 2010, 07:40 AM
#4
Re: Streams vs Strings - Windows Form app
-
February 25th, 2010, 07:42 AM
#5
Re: Streams vs Strings - Windows Form app
Define "large".
If this will be a time consuming operation (regardless you use strings or streams) you should do the processing in a second, worker thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|