06-20-2011, 01:34 PM,
(This post was last modified: 06-23-2011, 04:28 PM by ashimo.)
|
|||||
|
|||||
Page 8: Extra Practice
Extra Practice
Practice Problem 1: Basics Let’s write a program that writes the data displayed by RecordGrid into a file. The program must satisfy the following requirements:
Hint: Use commas to delimit each of the fields of the data in each Record, and then write each Record to one line of the file. Solution Solution Program: c:\Curl\Try5\04_exercise1\start.curl Code: {value Explanation RecordSets, like arrays, are collections, so a RecordSet can be passed to a for loop, which will process the contained Records in order. |
|||||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
Page 7: Summary | ashimo | 0 | 3,046 |
06-20-2011, 01:23 PM Last Post: ashimo |
|
Page 6: Structure of a Program that Reads our Score Data | ashimo | 0 | 2,970 |
06-20-2011, 01:21 PM Last Post: ashimo |
|
Page 5: Application: Reading Our Score Data | ashimo | 0 | 2,775 |
06-20-2011, 01:20 PM Last Post: ashimo |
|
Page 4: Structure of a Program that Writes Data to a File | ashimo | 0 | 3,148 |
06-20-2011, 01:18 PM Last Post: ashimo |
|
Page 3: Basics 2: Writing a Control Value into a File | ashimo | 0 | 3,022 |
06-20-2011, 01:16 PM Last Post: ashimo |
|
Page 2: Structure of a Program that Reads Data from a File | ashimo | 0 | 3,039 |
06-20-2011, 01:13 PM Last Post: ashimo |
|
Page 1: Reading Our Score Data | ashimo | 0 | 3,171 |
06-20-2011, 01:12 PM Last Post: ashimo |
Users browsing this thread:
2 Guest(s)
2 Guest(s)