|
-
Jun 16th, 2005, 11:17 AM
#1
Thread Starter
New Member
Which is the best method
I am working on a program that reads characters from a data file (either 0, 1, or 2) and draws the corresponding colored rectangle using GDI+. The way it is set up is I have a loop that reads one character (using StreamReader.read() )and draws the rectangle, it repeats the process until it reaches the end of the text file.
The program works fine, but my question is, is this the best and fastest way to do it, or would it be better to write the file or characters to an array and then draw from the array?
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
|