10.1 Organizing Data


10.1 Organizing Data

Earlier, we called information a collection of related data. Data consists of variables and constants such as age, name, address, and so on. This data is of various types, such as int, char, and float. However, this data alone has no real meaningful value since alone it is nothing but numbers and letters. Data gains value, however, when it is related in some way to other data to collectively form information, such as when name, age, and grades are grouped together to form something like a student profile. It makes sense then to group together related data, and C++ provides a means to do this called data structures.




Introduction to Game Programming with C++
Introduction to Game Programming with C++ (Wordware Game Developers Library)
ISBN: 1598220322
EAN: 2147483647
Year: 2007
Pages: 225
Authors: Alan Thorn

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net