Tags:
view all tags
---+Help to load a file into an array * Because you don't know the size, you need to read until the end of the file (no longer has.Next()) * Because you need to return the size of the array, the array to stored the data in must be passed. * Because you need to pass the array, it needs to be instantiated before it is sent. It need not be initialized before you load because loading is initializing * If there is more data than the maximum, you may * let the error occur and the program fail * handle the error in an appropriate manner. If you choose this option, discuss it in lessons learned * A method may return a value (such as the number of items read), but that value need not be used.
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2023-06-22
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback