Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Essential Structures

Chapter 3. Essential Structures

Computers were originally built to perform numeric calculations, and crunching numbers is still what computers do best. Virtually all programming languages have mechanisms for storing numbers in variables, performing arithmetical operations, looping through ranges of numbers, comparing numbers, and displaying numbers in a readable form.

For many programming languages, the next step beyond numbers is text in the form of character strings. Character strings chiefly exist to allow computer programs to communicate with human users. Internal to the computer, of course, characters are represented by numbers, as is everything else in the machine.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint