Page 148 -
P. 148

4   data in files and arrays




                                                                    Sort it out











                            Wow! Look, Mom! I didn‛t
                            know Daddy could surf the
                            green room...                                               Ummmm... I just
                                                                                        hope he knows what
                                                                                        he‛s doing...



























                       As your programs develop, so do your data handling needs.
                       And when you have lots of data to work with, using an individual variable for each piece
                       of data gets really old, really quickly. So programmers employ some rather awesome
                       containers (known as data structures) to help them work with lots of data. More times
                       than not, all that data comes from a file stored on a hard disk. So, how can you work with
                       data in your files? Turns out it’s a breeze. Flip the page and let’s learn how!





                                                                                  this is a new chapter    113
   143   144   145   146   147   148   149   150   151   152   153