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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Programming: It’s Now or Never

Chapter 4. Programming: It’s Now or Never

Now that you have been introduced to variables and how to assign data to them, you can begin to program. Through output and input statements, your program will allow a user to interact with a program. You’ll learn the basic elements of any C++ program: namely the main section, the return statement, and the input and output statements, cout and cin. Statements like cout and cin allow you to display and retrieve data within a program.


  

You are currently reading a PREVIEW of this book.

                                                                                        

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

  

Start a Free Trial