Summary


This chapter is essential for you as a C++ programmer. In this chapter, you learned how to capture input from the keyboard and redirect that input into a variable. You also learned how to display that data to the screen. The use of the cin and cout functions is absolutely essential to any C++ program. Although simple and straightforward, the concepts of this chapter are of critical importance. Make absolutely certain that you have thoroughly understood them before you continue. This chapter also introduced you to some basic formatting commands and escape codes.

Another item you saw in this chapter was the use of namespaces. You may program for quite some time without needing to use more than the standard namespace. However, you will see nonstandard namespaces used in code samples you find either on the Internet or from other sources. So it does behoove you to become at least basically familiar with them.




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

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